/*
* Copyright (c) 2006 Sendmail, Inc. and its suppliers.
* All rights reserved.
*
* By using this file, you agree to the terms and conditions set
* forth in the LICENSE file which can be found at the top level of
* the sendmail distribution.
*/
#pragma ident "%Z%%M% %I% %E% SMI"
#include <stdio.h>
#include <sm/sendmail.h>
extern bool SmTestVerbose;
void
const char *s1;
const char *s2;
{
int i;
{
{
i, (unsigned char) s1[i],
(unsigned char) s2[i]);
return;
}
}
{
}
}
char *quote_unquote __P((char *, char *, int, int));
char *
char *in;
char *out;
int outlen;
int exp;
{
int cmp;
{
}
if (SmTestVerbose)
{
}
return obp;
}
struct sm_qic_S
{
char *qic_in;
char *qic_out;
int qic_exp;
};
int
int argc;
char *argv[];
{
{ "", "", 0 }
, { "abcdef", "abcdef", 0 }
, { "01234567890123456789", "01234567890123456789", 0 }
, { "01234567890123456789\001", "01234567890123456789\001",
0 }
, { "012345\2067890123456789", "012345\377\2067890123456789",
0 }
, { "\377", "\377\377", 0 }
, { "\240", "\240", 0 }
, { "\220", "\377\220", 0 }
, { "\240\220", "\240\377\220", 0 }
, { "\377\377", "\377\377\377\377", 0 }
, { "\377a\377b", "\377\377a\377\377b", 0 }
, { "\376a\377b", "\376a\377\377b", 0 }
, { "\200\201\202\203\204\205\206\207\210\211\212\213\214\215\216\217\220\221\222\223\224\225\226\227\230\231\232\233\234\235\236\237\240",
"\377\200\377\201\377\202\377\203\377\204\377\205\377\206\377\207\377\210\377\211\377\212\377\213\377\214\377\215\377\216\377\217\377\220\377\221\377\222\377\223\377\224\377\225\377\226\377\227\377\230\377\231\377\232\377\233\377\234\377\235\377\236\377\237\240",
0 }
};
for (i = 0; i < sizeof(line_out); i++)
line_out[i] = '\0';
for (i = 0; i < sizeof(line_in); i++)
line_in[i] = '\0';
for (i = 0; i < sizeof(line_in) / 2; i++)
{
char ch;
ch = 0200 + i;
if ('\0' == ch)
ch = '0';
}
for (i = 0; i < sizeof(line_in); i++)
line_in[i] = '\0';
for (i = 0; i < sizeof(line_in) / 2; i++)
{
char ch;
ch = 0200 + i;
if ('\0' == ch)
ch = '0';
}
{
{
char *bp;
}
}
/* use same buffer for in and out */
{
bool same;
++los;
{
char *bp;
}
{
if (same)
}
}
/* use NULL buffer for out */
{
los = 0;
{
char *bp;
}
}
return sm_test_end();
}