From: Paul Eggert Date: Thu, 21 Apr 2005 00:30:13 +0000 (+0000) Subject: Undo previous change. X-Git-Tag: CPPI-1_12~955 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=82e7b3c7cafe7f1806cea2c6aa08a5ff3aa85ef7;p=thirdparty%2Fcoreutils.git Undo previous change. (dd, dd2): New vars, which use $EXEEXT. All uses of dd and dd2 changed. --- diff --git a/tests/install/basic-1 b/tests/install/basic-1 index 6bbd66904f..66a8e64e1f 100755 --- a/tests/install/basic-1 +++ b/tests/install/basic-1 @@ -8,13 +8,6 @@ fi dir=dir file=file -# Skip this test if we're on a non-POSIX platform where executables' names end -# in .exe, or we have some other problem like that. -cat ../../src/dd > /dev/null || { - echo >&2 "$0: ../../src/dd is not readable, so can't run this test" - exit 77 -} - pwd=`pwd` tmp=inst-basic.$$ trap 'status=$?; cd $pwd; rm -rf $tmp && exit $status' 0 @@ -41,10 +34,12 @@ test -f $file || fail=1 test -f $dir/$file || fail=1 # Make sure strip works. -cp ../../../src/dd . -cp dd dd2 +dd=dd$EXEEXT +dd2=dd2$EXEEXT +cp ../../../src/$dd . || fail=1 +cp $dd $dd2 || fail=1 -strip dd2 || \ +strip $dd2 || \ { cat 1>&2 <