diff options
author | Andreas Jaeger <aj@suse.de> | 2001-02-11 12:07:07 +0000 |
---|---|---|
committer | Andreas Jaeger <aj@suse.de> | 2001-02-11 12:07:07 +0000 |
commit | 5a7eedfbe62cfbf1485dda60b350d3fb4867fedd (patch) | |
tree | 8e34770d4ce2e5a37f9a7d46efc4f783355383fb /libio/test-freopen.sh | |
parent | 27844eed6cae55f7dfdbf5480ad228c2519878b0 (diff) | |
download | glibc-5a7eedfbe62cfbf1485dda60b350d3fb4867fedd.tar.gz glibc-5a7eedfbe62cfbf1485dda60b350d3fb4867fedd.tar.xz glibc-5a7eedfbe62cfbf1485dda60b350d3fb4867fedd.zip |
Use run_program_prefix.
Diffstat (limited to 'libio/test-freopen.sh')
-rwxr-xr-x | libio/test-freopen.sh | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/libio/test-freopen.sh b/libio/test-freopen.sh index 86ce0c5260..c89e92bf93 100755 --- a/libio/test-freopen.sh +++ b/libio/test-freopen.sh @@ -1,6 +1,6 @@ #! /bin/sh # Test of freopen. -# Copyright (C) 2000 Free Software Foundation, Inc. +# Copyright (C) 2000, 2001 Free Software Foundation, Inc. # This file is part of the GNU C Library. # # The GNU C Library is free software; you can redistribute it and/or @@ -19,10 +19,10 @@ # 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. common_objpfx=$1 -objpfx=$2 +run_program_prefix=$2 +objpfx=$3 -${common_objpfx}elf/ld.so --library-path $common_objpfx \ -${objpfx}test-freopen ${objpfx}test-freopen.out && +${run_program_prefix} ${objpfx}test-freopen ${objpfx}test-freopen.out && cmp ${objpfx}test-freopen.out - <<"EOF" Hello world (mb) Hello world (wc) |