( cd $cwd/build
getfacl -R acl > $cwd/tmp/org
getfattr -h -n user.bacula.test $d/other > $cwd/tmp/attr.org
+ getfattr -h -n user.bacula.secondtest $d/other > $cwd/tmp/attr.org
)
;;
Darwin)
( cd $cwd/build
ls -lde -R acl > $cwd/tmp/org
xattr -p bacula.test $d/other > $cwd/tmp/attr.org
+ xattr -p bacula.secondtest $d/other > $cwd/tmp/attr.org
)
;;
SunOS)
( cd $cwd/build
/bin/ls -ldv -R acl > $cwd/tmp/org
/bin/runat $d/other 'cat bacula.test' > $cwd/tmp/attr.org
+ /bin/runat $d/other 'cat bacula.secondtest' > $cwd/tmp/attr.org
)
;;
FreeBSD)
getfacl $file
done > $cwd/tmp/org
getextattr user bacula.test $d/other > $cwd/tmp/attr.org
+ getextattr user bacula.secondtest $d/other > $cwd/tmp/attr.org
)
;;
NetBSD)
( cd $cwd/build
cp /dev/null $cwd/tmp/org
getextattr user bacula.test $d/other > $cwd/tmp/attr.org
+ getextattr user bacula.secondtest $d/other > $cwd/tmp/attr.org
)
;;
esac