2005-11-17 18:19:12 +00:00
|
|
|
if ! getfacl --version 2> /dev/null 1>&2 || \
|
|
|
|
|
! setfacl --version 2> /dev/null 1>&2 ; then
|
|
|
|
|
cat <<EOF 1>&2
|
|
|
|
|
**************************************
|
2005-11-24 17:24:36 +00:00
|
|
|
$0: This test requires getfacl and setfacl.
|
2005-11-17 18:19:12 +00:00
|
|
|
**************************************
|
|
|
|
|
EOF
|
|
|
|
|
(exit 77); exit 77
|
|
|
|
|
fi
|
|
|
|
|
|
|
|
|
|
if ! grep '^bin:' /etc/passwd 2> /dev/null 1>&2 ; then
|
|
|
|
|
cat <<EOF 1>&2
|
|
|
|
|
**************************************
|
2005-11-24 17:24:36 +00:00
|
|
|
$0: This test requires a local user named bin.
|
2005-11-17 18:19:12 +00:00
|
|
|
**************************************
|
|
|
|
|
EOF
|
|
|
|
|
(exit 77); exit 77
|
|
|
|
|
fi
|