about summary refs log tree commit diff
path: root/io/Makefile
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>1997-05-30 01:37:13 +0000
committerUlrich Drepper <drepper@redhat.com>1997-05-30 01:37:13 +0000
commitd951286f645cc1d6f719c0c715620fc395c049d4 (patch)
treeff756b3d8cb561d733337cf27bca2e26358852ba /io/Makefile
parent76b87c039ba8d20add4f52ba43f3471fd92e210b (diff)
downloadglibc-d951286f645cc1d6f719c0c715620fc395c049d4.tar.gz
glibc-d951286f645cc1d6f719c0c715620fc395c049d4.tar.xz
glibc-d951286f645cc1d6f719c0c715620fc395c049d4.zip
	* io/Makefile (test-srcs): Add ftwtest.
	(distribute): Add ftwtest-sh.
	(tests): Call ftwtest-sh for this goal.
	* io/ftwtest-sh: New file.  Sets up test environment, calls test
	program and compares the result.
	* io/ftwtest.c: Test program for ftw.

	* misc/search.h: Add comments.  Declare tdestroy.
	* misc/tsearch.c (tdestroy): New function.
Diffstat (limited to 'io/Makefile')
-rw-r--r--io/Makefile6
1 files changed, 6 insertions, 0 deletions
diff --git a/io/Makefile b/io/Makefile
index f1efd21e87..d199f9110b 100644
--- a/io/Makefile
+++ b/io/Makefile
@@ -51,9 +51,15 @@ routines :=							      \
 static-only-routines = stat fstat lstat mknod
 
 others		:= pwd
+test-srcs	:= ftwtest
 tests		:= test-utime
 
+distribute	:= ftwtest-sh
+
 include ../Rules
 
 CFLAGS-fts.c = -Wno-uninitialized
 CFLAGS-ftw.c = -Wno-uninitialized
+
+tests: $(objpfx)ftwtest
+	$(SHELL) -e ftwtest-sh $(common-objpfx) $<