diff options
Diffstat (limited to 'tests/tail-2')
-rwxr-xr-x | tests/tail-2/F-vs-missing | 4 | ||||
-rwxr-xr-x | tests/tail-2/F-vs-rename | 4 | ||||
-rwxr-xr-x | tests/tail-2/assert | 6 | ||||
-rwxr-xr-x | tests/tail-2/assert-2 | 4 | ||||
-rwxr-xr-x | tests/tail-2/big-4gb | 2 | ||||
-rwxr-xr-x | tests/tail-2/follow-name | 2 | ||||
-rwxr-xr-x | tests/tail-2/inotify-hash-abuse | 4 | ||||
-rwxr-xr-x | tests/tail-2/proc-ksyms | 2 | ||||
-rwxr-xr-x | tests/tail-2/tail-n0f | 2 | ||||
-rwxr-xr-x | tests/tail-2/wait | 6 |
10 files changed, 18 insertions, 18 deletions
diff --git a/tests/tail-2/F-vs-missing b/tests/tail-2/F-vs-missing index 194b55943..fbdb53314 100755 --- a/tests/tail-2/F-vs-missing +++ b/tests/tail-2/F-vs-missing @@ -33,14 +33,14 @@ check_tail_output() } # Wait up to 6.3s for tail to start with diagnostic: -# tail: cannot open `missing/file' for reading: No such file or directory +# tail: cannot open 'missing/file' for reading: No such file or directory tail_re='cannot open' retry_delay_ check_tail_output .1 7 || fail=1 mkdir missing || fail=1 (cd missing && echo x > file) # Wait up to 6.3s for this to appear in the output: -# "tail: `...' has appeared; following end of new file" +# "tail: '...' has appeared; following end of new file" tail_re='has appeared' retry_delay_ check_tail_output .1 7 || { echo "$0: file: unexpected delay?"; cat out; fail=1; } diff --git a/tests/tail-2/F-vs-rename b/tests/tail-2/F-vs-rename index 7967296a2..53bc00dd3 100755 --- a/tests/tail-2/F-vs-rename +++ b/tests/tail-2/F-vs-rename @@ -41,12 +41,12 @@ tail_re='^x$' retry_delay_ check_tail_output .1 7 || fail=1 mv a b || fail=1 # Wait 6.3s for this diagnostic: -# tail: `a' has become inaccessible: No such file or directory +# tail: 'a' has become inaccessible: No such file or directory tail_re='inaccessible' retry_delay_ check_tail_output .1 7 || fail=1 echo x > a # Wait up to 6.3s for this to appear in the output: -# "tail: `...' has appeared; following end of new file" +# "tail: '...' has appeared; following end of new file" tail_re='has appeared' retry_delay_ check_tail_output .1 7 || { echo "$0: a: unexpected delay?"; cat out; fail=1; } diff --git a/tests/tail-2/assert b/tests/tail-2/assert index 9632b104f..c34f90d77 100755 --- a/tests/tail-2/assert +++ b/tests/tail-2/assert @@ -19,7 +19,7 @@ # This test fails with tail from textutils-2.0. # It would get something like this: -# tail: tail.c:718: recheck: Assertion `valid_file_spec (f)' failed. +# tail: tail.c:718: recheck: Assertion 'valid_file_spec (f)' failed. # Aborted # due to a race condition in which a dev/inode pair is reused. @@ -39,8 +39,8 @@ tail_pid=$! echo sleeping for 7 seconds... -# Give the backgrounded `tail' a chance to start before removing foo. -# Otherwise, without --retry, tail wouldn't try to open `foo' again. +# Give the backgrounded 'tail' a chance to start before removing foo. +# Otherwise, without --retry, tail wouldn't try to open 'foo' again. sleep 1 rm -f foo diff --git a/tests/tail-2/assert-2 b/tests/tail-2/assert-2 index 25ddb8b20..b8f099d5f 100755 --- a/tests/tail-2/assert-2 +++ b/tests/tail-2/assert-2 @@ -1,6 +1,6 @@ #!/bin/sh -# This variant of `assert' would get a UMR reliably in 2.0.9. -# Due to a race condition in the test, the `assert' script would get +# This variant of 'assert' would get a UMR reliably in 2.0.9. +# Due to a race condition in the test, the 'assert' script would get # the UMR on Solaris only some of the time, and not at all on Linux/GNU. # Copyright (C) 2000, 2006-2012 Free Software Foundation, Inc. diff --git a/tests/tail-2/big-4gb b/tests/tail-2/big-4gb index 3bd53039e..171dd1bd7 100755 --- a/tests/tail-2/big-4gb +++ b/tests/tail-2/big-4gb @@ -1,5 +1,5 @@ #!/bin/sh -# Demonstrate a bug in `tail -cN' when operating on files of size 4G and larger +# Demonstrate a bug in 'tail -cN' when operating on files of size 4G and larger # Fixed in coreutils-4.5.2. # Copyright (C) 2002-2003, 2006-2012 Free Software Foundation, Inc. diff --git a/tests/tail-2/follow-name b/tests/tail-2/follow-name index a615d799d..2ab1c0119 100755 --- a/tests/tail-2/follow-name +++ b/tests/tail-2/follow-name @@ -20,7 +20,7 @@ print_ver_ tail cat <<\EOF > exp || framework_failure_ -tail: cannot open `no-such' for reading: No such file or directory +tail: cannot open 'no-such' for reading: No such file or directory tail: no files remaining EOF diff --git a/tests/tail-2/inotify-hash-abuse b/tests/tail-2/inotify-hash-abuse index ee3a2a571..deec76d1b 100755 --- a/tests/tail-2/inotify-hash-abuse +++ b/tests/tail-2/inotify-hash-abuse @@ -41,14 +41,14 @@ tail_re='^x$' retry_delay_ check_tail_output .1 7 || fail=1 mv 1 f || fail=1 # Wait 6.3s for this diagnostic: -# tail: `1' has become inaccessible: No such file or directory +# tail: '1' has become inaccessible: No such file or directory tail_re='inaccessible' retry_delay_ check_tail_output .1 7 || fail=1 # Trigger the bug. Before the fix, this would provoke the abort. echo a > 1 || fail=1 # Wait up to 2s for the buggy tail to die, -# or for the "tail: `1' has appeared; following end of new file" output +# or for the "tail: '1' has appeared; following end of new file" output for i in $(seq 10); do kill -0 $pid || break grep 'has appeared;' out > /dev/null && break diff --git a/tests/tail-2/proc-ksyms b/tests/tail-2/proc-ksyms index f4d8e8c27..e3577a85a 100755 --- a/tests/tail-2/proc-ksyms +++ b/tests/tail-2/proc-ksyms @@ -1,5 +1,5 @@ #!/bin/sh -# Prior to textutils-2.0.17, `tail /proc/ksyms' would segfault on Linux. +# Prior to textutils-2.0.17, 'tail /proc/ksyms' would segfault on Linux. # Copyright (C) 2001, 2004, 2006-2012 Free Software Foundation, Inc. diff --git a/tests/tail-2/tail-n0f b/tests/tail-2/tail-n0f index f5c2ec591..29448d986 100755 --- a/tests/tail-2/tail-n0f +++ b/tests/tail-2/tail-n0f @@ -1,5 +1,5 @@ #!/bin/sh -# Make sure that `tail -n0 -f' and `tail -c0 -f' sleep +# Make sure that 'tail -n0 -f' and 'tail -c0 -f' sleep # rather than doing what amounted to a busy-wait. # Copyright (C) 2003, 2006-2012 Free Software Foundation, Inc. diff --git a/tests/tail-2/wait b/tests/tail-2/wait index 2b051fc6b..24764bd06 100755 --- a/tests/tail-2/wait +++ b/tests/tail-2/wait @@ -1,6 +1,6 @@ #!/bin/sh -# Make sure that `tail -f' returns immediately if a file doesn't exist -# while `tail -F' waits for it to appear. +# Make sure that 'tail -f' returns immediately if a file doesn't exist +# while 'tail -F' waits for it to appear. # Copyright (C) 2003, 2006-2012 Free Software Foundation, Inc. @@ -36,7 +36,7 @@ for inotify in ---disable-inotify ''; do timeout 1 tail -s0.1 -f $inotify here 2>tail.err test $? = 124 || fail=1 - # `tail -F' must wait in any case. + # 'tail -F' must wait in any case. timeout 1 tail -s0.1 -F $inotify here 2>>tail.err test $? = 124 || fail=1 |