summary refs log tree commit diff
path: root/posix/Makefile
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2005-04-14 21:20:51 +0000
committerUlrich Drepper <drepper@redhat.com>2005-04-14 21:20:51 +0000
commit506cbf1f43a3bba63b9f4dd6d5a9a1d15f0dcf2c (patch)
treeae94b10219ae5184bda4b83c0142886822412c9c /posix/Makefile
parent806bc96abb96212c38ef54ea80a86b45647161eb (diff)
downloadglibc-506cbf1f43a3bba63b9f4dd6d5a9a1d15f0dcf2c.tar.gz
glibc-506cbf1f43a3bba63b9f4dd6d5a9a1d15f0dcf2c.tar.xz
glibc-506cbf1f43a3bba63b9f4dd6d5a9a1d15f0dcf2c.zip
* posix/execvp.c (execvp): Use file name including path when
	trying to run it with shell.
	* posix/Makefile: Add rules to build and run tst-execvp3.
	* posix/tst-execvp3.c: New file.
Diffstat (limited to 'posix/Makefile')
-rw-r--r--posix/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/posix/Makefile b/posix/Makefile
index 5100cf6bea..d309b3b2de 100644
--- a/posix/Makefile
+++ b/posix/Makefile
@@ -86,7 +86,8 @@ tests		:= tstgetopt testfnm runtests runptests	     \
 		   tst-getaddrinfo2 bug-glob1 bug-glob2 tst-sysconf \
 		   tst-execvp1 tst-execvp2 tst-execlp1 tst-execlp2 \
 		   tst-execv1 tst-execv2 tst-execl1 tst-execl2 \
-		   tst-execve1 tst-execve2 tst-execle1 tst-execle2
+		   tst-execve1 tst-execve2 tst-execle1 tst-execle2 \
+		   tst-execvp3
 xtests		:= bug-ga2
 ifeq (yes,$(build-shared))
 test-srcs	:= globtest
@@ -190,6 +191,7 @@ tst-rxspencer-ENV = LOCPATH=$(common-objpfx)localedata
 tst-pcre-ARGS = PCRE.tests
 tst-boost-ARGS = BOOST.tests
 bug-glob1-ARGS = "$(objpfx)"
+tst-execvp3-ARGS = --test-dir=$(objpfx)
 
 testcases.h: TESTS TESTS2C.sed
 	sed -f TESTS2C.sed < $< > $@T