summaryrefslogtreecommitdiff
path: root/tests/touch
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>2000-02-02 14:04:40 +0000
committerJim Meyering <jim@meyering.net>2000-02-02 14:04:40 +0000
commitfaae41a3ef788bfb4718449960b54ad83953e570 (patch)
tree79d39e410885b10f20b5843c9b110ba2acaa049c /tests/touch
parent177daedd5eb60fb77f27d6c9929cd7b21bfc91b0 (diff)
downloadcoreutils-faae41a3ef788bfb4718449960b54ad83953e570.tar.xz
tell user that we're about to sleep
Diffstat (limited to 'tests/touch')
-rwxr-xr-xtests/touch/empty-file2
-rwxr-xr-xtests/touch/no-rights1
2 files changed, 3 insertions, 0 deletions
diff --git a/tests/touch/empty-file b/tests/touch/empty-file
index f6a8f1cf1..6e478a97f 100755
--- a/tests/touch/empty-file
+++ b/tests/touch/empty-file
@@ -34,6 +34,7 @@ if test $framework_failure = 1; then
exit 1
fi
+echo sleeping for $SLEEP_SECONDS seconds...
sleep $SLEEP_SECONDS
for d in $TOUCH_DIR_LIST; do
touch $d/a || fail=1
@@ -41,6 +42,7 @@ for d in $TOUCH_DIR_LIST; do
test "$*" = "x $d/a $d/b" || fail=1
done
+echo sleeping for $SLEEP_SECONDS seconds...
sleep $SLEEP_SECONDS
for d in $TOUCH_DIR_LIST; do
touch $d/b
diff --git a/tests/touch/no-rights b/tests/touch/no-rights
index facc7acd2..2babd6814 100755
--- a/tests/touch/no-rights
+++ b/tests/touch/no-rights
@@ -16,6 +16,7 @@ rm -rf $t1 $t2
: > $t1
# Make sure $t2 is two seconds newer than $t1.
+echo sleeping for $SLEEP_SECONDS seconds...
sleep $SLEEP_SECONDS
: > $t2
fail=0