From 5c2322aaccbceddf7fbd8e17b570b101d1eec186 Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Mon, 13 Dec 1999 15:03:51 +0000 Subject: *** empty log message *** --- tests/shred/remove | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100755 tests/shred/remove (limited to 'tests/shred/remove') diff --git a/tests/shred/remove b/tests/shred/remove new file mode 100755 index 000000000..4664ca4a6 --- /dev/null +++ b/tests/shred/remove @@ -0,0 +1,29 @@ +#!/bin/sh +# Test some of ls's sorting options. + +if test "$VERBOSE" = yes; then + set -x + shred --version +fi + +tmp=t-shred.$$ + +framework_failure=0 +mkdir $tmp || framework_failure=1 +touch $tmp/file || framework_failure=1 +chmod u-w $tmp || framework_failure=1 + +if test $framework_failure = 1; then + echo 'failure in testing framework' + exit 1 +fi + +fail=0 + +# This would infloop with the version from fileutils-4.0k. +shred -u $tmp/file + +cd .. +rm -rf $tmp + +exit $fail -- cgit v1.2.3-54-g00ecf