summaryrefslogtreecommitdiff
path: root/tests/brief-vs-stat-zero-kernel-lies
diff options
context:
space:
mode:
Diffstat (limited to 'tests/brief-vs-stat-zero-kernel-lies')
-rwxr-xr-xtests/brief-vs-stat-zero-kernel-lies2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/brief-vs-stat-zero-kernel-lies b/tests/brief-vs-stat-zero-kernel-lies
index 7b043db..82b33e6 100755
--- a/tests/brief-vs-stat-zero-kernel-lies
+++ b/tests/brief-vs-stat-zero-kernel-lies
@@ -10,7 +10,7 @@ fail=0
# Skip the test unless we have an appropriate file.
boot=/proc/cmdline
-test -f $boot || skip_ no $boot file
+test -r $boot || skip_ no $boot file
sz=$(stat --format %s $boot) || skip_ stat --format %s does not work
test $sz = 0 || skip_ $boot has nonzero size