aboutsummaryrefslogtreecommitdiffstats
path: root/nologin-test/test
diff options
context:
space:
mode:
authorMattias Andrée <maandree@kth.se>2018-05-08 01:49:52 +0200
committerMattias Andrée <maandree@kth.se>2018-05-08 01:49:52 +0200
commit78f60a6ef04e7736a697008202d5451889bb44df (patch)
tree22f9e0014ed6a64e02a706dd974e5a3f05b7b67e /nologin-test/test
parentUpdate basename according to clarfication in 2018 edition POSIX (diff)
downloadbase-util-tests-78f60a6ef04e7736a697008202d5451889bb44df.tar.gz
base-util-tests-78f60a6ef04e7736a697008202d5451889bb44df.tar.bz2
base-util-tests-78f60a6ef04e7736a697008202d5451889bb44df.tar.xz
m
Signed-off-by: Mattias Andrée <maandree@kth.se>
Diffstat (limited to '')
-rwxr-xr-xnologin-test/test2
1 files changed, 1 insertions, 1 deletions
diff --git a/nologin-test/test b/nologin-test/test
index 846c0a7..d10881b 100755
--- a/nologin-test/test
+++ b/nologin-test/test
@@ -25,7 +25,7 @@ exitvalue ()
message ()
{
- if test -f /etc/nologin.txt; then
+ if test -r /etc/nologin.txt; then
diff <($n) /etc/nologin.txt > /dev/null
report $? "message (with /etc/nologin.txt)"
else