summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorJim Meyering <meyering@redhat.com>2009-07-03 17:10:27 +0200
committerJim Meyering <meyering@redhat.com>2009-07-03 17:52:30 +0200
commit66ac50e723096b7350b2a4be004c71b6b6ccc612 (patch)
tree56e722ab301ca575cc87ce4b32f1d741929c1792 /tests
parentd106277d458fc65f521165248e3e8cd4eb41a5f6 (diff)
downloadcoreutils-66ac50e723096b7350b2a4be004c71b6b6ccc612.tar.xz
tests: tail-2/wait: rename internal file name
* tests/tail-2/wait: Rename file from not_accessible to unreadable, since all the test cares about is readability.
Diffstat (limited to 'tests')
-rwxr-xr-xtests/tail-2/wait8
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/tail-2/wait b/tests/tail-2/wait
index 8f2f6107f..a902b54bb 100755
--- a/tests/tail-2/wait
+++ b/tests/tail-2/wait
@@ -28,7 +28,7 @@ require_proc_pid_status_
touch here || framework_failure
touch k || framework_failure
-(touch not_accessible && chmod 0 not_accessible) || framework_failure
+(touch unreadable && chmod a-r unreadable) || framework_failure
fail=0
@@ -46,8 +46,8 @@ if test -n "$state"; then
fi
# Check if the file is really not accessible before use it.
-if ! cat not_accessible; then
- tail -s0.1 -f not_accessible &
+if ! cat unreadable; then
+ tail -s0.1 -f unreadable &
pid=$!
sleep .5
state=$(get_process_status_ $pid)
@@ -90,7 +90,7 @@ if test -n "$state"; then
kill $pid
fi
-tail -s0.1 -F not_accessible &
+tail -s0.1 -F unreadable &
pid=$!
sleep .5
state=$(get_process_status_ $pid)