diff options
Diffstat (limited to 'tests/brief-vs-stat-zero-kernel-lies')
-rwxr-xr-x | tests/brief-vs-stat-zero-kernel-lies | 2 |
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 |