summaryrefslogtreecommitdiff
path: root/tests/brief-vs-stat-zero-kernel-lies
diff options
context:
space:
mode:
authorJinWang An <jinwang.an@samsung.com>2022-12-27 12:15:01 +0900
committerJinWang An <jinwang.an@samsung.com>2022-12-27 12:15:01 +0900
commit02a08acfc3145de1707c7704c566e4401ff5a8de (patch)
tree1c41a0a5565eb993984a585a0dd8ef13735ceede /tests/brief-vs-stat-zero-kernel-lies
parent90dfac14e6a0169336b5b7210e4a160df8b91c68 (diff)
downloaddiffutils-upstream/3.6.tar.gz
diffutils-upstream/3.6.tar.bz2
diffutils-upstream/3.6.zip
Imported Upstream version 3.6upstream/3.6
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