projects
/
gnulib.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
utimens: simplify the logic of the previous change
[gnulib.git]
/
tests
/
test-set-mode-acl.sh
diff --git
a/tests/test-set-mode-acl.sh
b/tests/test-set-mode-acl.sh
index
ef2b716
..
56fde29
100755
(executable)
--- a/
tests/test-set-mode-acl.sh
+++ b/
tests/test-set-mode-acl.sh
@@
-91,8
+91,14
@@
cd "$builddir" ||
acl_flavor=hpux
else
if (getacl tmpfile0 >/dev/null) 2>/dev/null; then
acl_flavor=hpux
else
if (getacl tmpfile0 >/dev/null) 2>/dev/null; then
- # Tru64.
- acl_flavor=osf1
+ # Tru64, NonStop Kernel.
+ if (getacl -m tmpfile0 >/dev/null) 2>/dev/null; then
+ # Tru64.
+ acl_flavor=osf1
+ else
+ # NonStop Kernel.
+ acl_flavor=nsk
+ fi
else
if (aclget tmpfile0 >/dev/null) 2>/dev/null; then
# AIX.
else
if (aclget tmpfile0 >/dev/null) 2>/dev/null; then
# AIX.
@@
-175,6
+181,9
@@
cd "$builddir" ||
osf1)
setacl -u user:$auid:1 tmpfile0
;;
osf1)
setacl -u user:$auid:1 tmpfile0
;;
+ nsk)
+ setacl -m user:$auid:1 tmpfile0
+ ;;
aix)
{ aclget tmpfile0 | sed -e 's/disabled$/enabled/'; echo " permit --x u:$auid"; } | aclput tmpfile0
;;
aix)
{ aclget tmpfile0 | sed -e 's/disabled$/enabled/'; echo " permit --x u:$auid"; } | aclput tmpfile0
;;