diff options
Diffstat (limited to 'tests/rm/sunos-1')
-rwxr-xr-x | tests/rm/sunos-1 | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/tests/rm/sunos-1 b/tests/rm/sunos-1 new file mode 100755 index 000000000..98d8b79a1 --- /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 |