1
0
mirror of git://git.sv.gnu.org/coreutils.git synced 2026-08-17 17:08:20 +02:00
This commit is contained in:
Jim Meyering
1997-08-31 22:15:57 +00:00
parent a98be62643
commit 8a788f502e
+27
View File
@@ -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