diff options
author | H.J. Lu <hjl.tools@gmail.com> | 2013-01-11 07:14:18 -0800 |
---|---|---|
committer | H.J. Lu <hjl.tools@gmail.com> | 2013-01-11 07:14:18 -0800 |
commit | 740b3dbee8ef034019b240dc4838b39dfa0c01e2 (patch) | |
tree | 6b4caa77b597058c873bd5df2e0f7a859327c90a /grp | |
parent | c6fe55cf6089fc5cf1cea15fc7e1c9a8b90d9fda (diff) | |
download | glibc-740b3dbee8ef034019b240dc4838b39dfa0c01e2.zip glibc-740b3dbee8ef034019b240dc4838b39dfa0c01e2.tar.gz glibc-740b3dbee8ef034019b240dc4838b39dfa0c01e2.tar.bz2 |
Add --enable-hardcoded-path-in-tests configure option
Diffstat (limited to 'grp')
-rw-r--r-- | grp/Makefile | 2 | ||||
-rw-r--r-- | grp/tst_fgetgrent.sh | 10 |
2 files changed, 6 insertions, 6 deletions
diff --git a/grp/Makefile b/grp/Makefile index 6b4810a..d3549f0 100644 --- a/grp/Makefile +++ b/grp/Makefile @@ -55,7 +55,7 @@ ifeq ($(run-built-tests),yes) ifeq (yes,$(build-shared)) tests: $(objpfx)tst_fgetgrent.out $(objpfx)tst_fgetgrent.out: tst_fgetgrent.sh $(objpfx)tst_fgetgrent - $(SHELL) $< $(common-objpfx) '$(run-program-prefix)' + $(SHELL) $< $(common-objpfx) '$(test-program-prefix)' endif endif diff --git a/grp/tst_fgetgrent.sh b/grp/tst_fgetgrent.sh index 35a7a76..d4943db 100644 --- a/grp/tst_fgetgrent.sh +++ b/grp/tst_fgetgrent.sh @@ -20,22 +20,22 @@ set -e common_objpfx=$1; shift -run_program_prefix=$1; shift +test_program_prefix=$1; shift testout=${common_objpfx}/grp/tst_fgetgrent.out result=0 -${run_program_prefix} \ +${test_program_prefix} \ ${common_objpfx}grp/tst_fgetgrent 0 > ${testout} || result=1 -${run_program_prefix} \ +${test_program_prefix} \ ${common_objpfx}grp/tst_fgetgrent 1 >> ${testout} || result=1 -${run_program_prefix} \ +${test_program_prefix} \ ${common_objpfx}grp/tst_fgetgrent 2 >> ${testout} || result=1 -${run_program_prefix} \ +${test_program_prefix} \ ${common_objpfx}grp/tst_fgetgrent 3 >> ${testout} || result=1 exit $result |