summaryrefslogtreecommitdiff
path: root/tests/acl
blob: 2e232ee01650f9b9a086d585d722e397a04423b2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
if ! getfacl --version 2> /dev/null 1>&2 || \
   ! setfacl --version 2> /dev/null 1>&2 ; then
  cat <<EOF 1>&2
**************************************
$0: This test requires getfacl and setfacl.
**************************************
EOF
  (exit 77); exit 77
fi

if ! grep '^bin:' /etc/passwd 2> /dev/null 1>&2 ; then
  cat <<EOF 1>&2
**************************************
$0: This test requires a local user named bin.
**************************************
EOF
  (exit 77); exit 77
fi