From: Jim Meyering Date: Sun, 31 Aug 1997 22:15:57 +0000 (+0000) Subject: . X-Git-Tag: TEXTUTILS-1_22a~116 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=8a788f502e0254e1c797418b2e6f257bf645aeaf;p=thirdparty%2Fcoreutils.git . --- diff --git a/tests/rm/sunos-1 b/tests/rm/sunos-1 new file mode 100755 index 0000000000..98d8b79a1d --- /dev/null +++ b/tests/rm/sunos-1 @@ -0,0 +1,27 @@ +#!/bin/sh + +: ${RM=rm} +test=sunos-1 + +if test "$VERBOSE" = yes; then + set -x + $RM --version +fi + +tmp=t-rm.$$ + +test_failure=0 +mkdir $tmp || test_failure=1 + +if test $test_failure = 1; then + echo 'failure in testing framework' + exit 1 +fi + +fail=0 +cd $tmp +$RM '' && fail=1 +cd .. +rm -rf $tmp + +exit $fail