summaryrefslogtreecommitdiff
path: root/tests/shred/remove
diff options
context:
space:
mode:
Diffstat (limited to 'tests/shred/remove')
-rwxr-xr-xtests/shred/remove2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/shred/remove b/tests/shred/remove
index 4b3801acd..e8405d39a 100755
--- a/tests/shred/remove
+++ b/tests/shred/remove
@@ -23,7 +23,7 @@ if test $framework_failure = 1; then
exit 1
fi
-echo foo >> $tmp/file >/dev/null 2>&1 && {
+(echo foo >> $tmp/file) >/dev/null 2>&1 && {
echo '********************************************'
echo 'NOTICE: This test case cannot be run as root.'
echo '********************************************'