summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorNathan Scott <nathans@sgi.com>2002-09-04 23:19:54 +0000
committerNathan Scott <nathans@sgi.com>2002-09-04 23:19:54 +0000
commit43ceb48dc022f3c9eccbb25d7338a0e96490fc8d (patch)
treee366b6afd72c58f21970f83b0c76d59c340531d8 /test
parent4b46d0a5f341d70b558373f374f596a98275695d (diff)
downloadacl-43ceb48dc022f3c9eccbb25d7338a0e96490fc8d.tar.gz
minor updates from Andreas.
Diffstat (limited to 'test')
-rw-r--r--test/misc.test4
-rw-r--r--test/run1
2 files changed, 4 insertions, 1 deletions
diff --git a/test/misc.test b/test/misc.test
index a2bad7f..32686f6 100644
--- a/test/misc.test
+++ b/test/misc.test
@@ -6,7 +6,9 @@
!
$ umask 027
$ touch f
-$ setfacl -m u:lisa:rw f
+! Only change a base ACL:
+$ setfacl -m u::r f
+$ setfacl -m u::rw,u:lisa:rw f
$ mode f
-rw-rw----+
$ getfacl --omit-header f
diff --git a/test/run b/test/run
index e9bf5d0..1b7287a 100644
--- a/test/run
+++ b/test/run
@@ -76,6 +76,7 @@ if (isatty(fileno(STDOUT))) {
}
}
print $status, "\n";
+exit $failed ? 1 : 0;
sub exec_test($$) {
my ($prog, $in) = @_;