}
check_perms() {
- perms=`"$TOOLDIR/tls" "$1" | sed 's/^[-d]\(.........\).*/\1/'`
+ perms=`"$TOOLDIR/tls" "$1" | sed 's/^[-dlp]\(.........\).*/\1/'`
if test $perms = $2; then
return 0
fi
"$TOOLDIR/getgroups"
}
+confile=`echo "$scratchdir" | sed 's;/testtmp/[^/]*$;/config.h;'`
+config_test() {
+ egrep "^#define $1 1" "$confile" >/dev/null
+}
####################
# Build test directories $todir and $fromdir, with $fromdir full of files.