(test): Use run_program_prefix for static only builds.
authoraj <aj>
Sat, 10 Feb 2001 23:07:07 +0000 (23:07 +0000)
committeraj <aj>
Sat, 10 Feb 2001 23:07:07 +0000 (23:07 +0000)
stdlib/tst-fmtmsg.sh

index 6f083ca..7f1b52e 100755 (executable)
@@ -1,6 +1,6 @@
 #! /bin/sh
 # Test of fmtmsg function family.
-# 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
 # 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
 
 common_objpfx=$1
-objpfx=$2
+run_program_prefix=$2
+objpfx=$3
 
-test="${common_objpfx}elf/ld.so --library-path $common_objpfx \
-${objpfx}tst-fmtmsg"
+test="${run_program_prefix} ${objpfx}tst-fmtmsg"
 out=${objpfx}tst-fmtmsg.out
 
 LC_ALL=C