summaryrefslogtreecommitdiff
path: root/tests/rm
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>2005-12-03 22:16:24 +0000
committerJim Meyering <jim@meyering.net>2005-12-03 22:16:24 +0000
commit616fc42b4fa440e8be6b855e121c5801f8f67b7a (patch)
treeb983ff3b95c9b99bf4f66483f85386e95d97ce9c /tests/rm
parent448d52389726d2c7656cac1e3a46a0379abe8032 (diff)
downloadcoreutils-616fc42b4fa440e8be6b855e121c5801f8f67b7a.tar.xz
Update uses of undocumented, for- testing-only --presume* options
to start with `---'.
Diffstat (limited to 'tests/rm')
-rwxr-xr-xtests/rm/dangling-symlink2
-rwxr-xr-xtests/rm/dir-no-w2
-rwxr-xr-xtests/rm/isatty2
3 files changed, 3 insertions, 3 deletions
diff --git a/tests/rm/dangling-symlink b/tests/rm/dangling-symlink
index 1b1968a85..1072776cb 100755
--- a/tests/rm/dangling-symlink
+++ b/tests/rm/dangling-symlink
@@ -27,7 +27,7 @@ fi
fail=0
-rm --presume-input-tty dangle symlink &
+rm ---presume-input-tty dangle symlink &
pid=$!
# The buggy rm (fileutils-4.1.9) would hang here, waiting for input.
diff --git a/tests/rm/dir-no-w b/tests/rm/dir-no-w
index b0c6a668f..39e508e5e 100755
--- a/tests/rm/dir-no-w
+++ b/tests/rm/dir-no-w
@@ -28,7 +28,7 @@ fi
fail=0
# For rm from coreutils-5.0.1, this would prompt.
-rm --presume-input-tty unwritable-dir < /dev/null > out-t 2>&1 && fail=1
+rm ---presume-input-tty unwritable-dir < /dev/null > out-t 2>&1 && fail=1
cat <<\EOF > exp || fail=1
rm: cannot remove `unwritable-dir': Is a directory
EOF
diff --git a/tests/rm/isatty b/tests/rm/isatty
index 8916e6ac1..6985860eb 100755
--- a/tests/rm/isatty
+++ b/tests/rm/isatty
@@ -31,7 +31,7 @@ ls /dev/stdin >/dev/null 2>&1 \
touch f
chmod 0 f
-rm --presume-input-tty f > out 2>&1 &
+rm ---presume-input-tty f > out 2>&1 &
pid=$!
# Wait a second, to give a buggy rm (as in fileutils-4.0.40)