summaryrefslogtreecommitdiff
path: root/test/string/string.c
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2000-10-12 15:30:49 +0000
committerEric Andersen <andersen@codepoet.org>2000-10-12 15:30:49 +0000
commitaf1112c8d97830aa66715239e8d4f94811398ac6 (patch)
tree9bec85b094cc21920136c676462f2b98d06d9a92 /test/string/string.c
parent61885f3c4185f3aea2bd3b98f954935d221458e7 (diff)
Makefile update
Diffstat (limited to 'test/string/string.c')
-rw-r--r--test/string/string.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/test/string/string.c b/test/string/string.c
index 2492755d0..c59262717 100644
--- a/test/string/string.c
+++ b/test/string/string.c
@@ -580,21 +580,14 @@ test_strsep (void)
equal(one+2, "b", 49);
equal(one+4, "c", 50);
-printf( "A\n");
{
char text[] = "This,is,a,test";
char *list = strdup (text);
-printf( "B\n");
equal (strsep (&list, ","), "This", 51);
-printf( "C\n");
equal (strsep (&list, ","), "is", 52);
-printf( "D\n");
equal (strsep (&list, ","), "a", 53);
-printf( "E\n");
equal (strsep (&list, ","), "test", 54);
-printf( "F\n");
check (strsep (&list, ",") == NULL, 55);
-printf( "G\n");
}
cp = strcpy(one, "a,b, c,, ,d,");