diff options
Diffstat (limited to 'tests/tail-2/proc-ksyms')
-rwxr-xr-x | tests/tail-2/proc-ksyms | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/tail-2/proc-ksyms b/tests/tail-2/proc-ksyms index 6a035f78c..9733a1cbc 100755 --- a/tests/tail-2/proc-ksyms +++ b/tests/tail-2/proc-ksyms @@ -1,7 +1,7 @@ #!/bin/sh # Prior to textutils-2.0.17, `tail /proc/ksyms' would segfault on Linux. -# Copyright (C) 2001, 2004 Free Software Foundation, Inc. +# Copyright (C) 2001, 2004, 2006 Free Software Foundation, Inc. # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by @@ -31,7 +31,7 @@ trap '(exit $?); exit' 1 2 13 15 fail=0 ksyms=/proc/ksyms -if test -f $ksyms; then +if test -r $ksyms; then tail $ksyms > /dev/null || fail=1 fi |