From af1112c8d97830aa66715239e8d4f94811398ac6 Mon Sep 17 00:00:00 2001 From: Eric Andersen Date: Thu, 12 Oct 2000 15:30:49 +0000 Subject: Makefile update --- test/string/Makefile | 2 +- test/string/string.c | 7 ------- 2 files changed, 1 insertion(+), 8 deletions(-) (limited to 'test') diff --git a/test/string/Makefile b/test/string/Makefile index 5384c9dec..e8725db3f 100644 --- a/test/string/Makefile +++ b/test/string/Makefile @@ -1,5 +1,5 @@ TOPDIR=../../ -include $(TOPDIR)Rules.make +include $(TOPDIR)Rules.mak # Check if 'ls -sh' works or not LSFLAGS = $(shell if ls -sh >/dev/null 2>&1; \ 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,"); -- cgit v1.2.3