switch to using new checkperms script.
[monkeysphere.git] / tests / basic
index dc5edb5bd0c25dee3bd53a10910a218694cf06ee..6fe323798052523612d3db2964933fabf0847d32 100755 (executable)
@@ -159,7 +159,7 @@ export DISPLAY=monkeys
 
 ## we cannot do proper directory permissions checking if the current
 ## working directory has unsatisfactory permissions:
-if ( . "$MONKEYSPHERE_SYSSHAREDIR"/common && check_key_file_permissions $(whoami) "$TEMPDIR" ) ; then 
+if "$MONKEYSPHERE_SYSSHAREDIR"/checkperms $(whoami) "$TEMPDIR"; then 
     echo "Permissions on temporary directory '$TEMPDIR' are OK for permissions checks."
     TEMPDIR_PERMISSIONS_SAFE=yes
 else
@@ -187,7 +187,7 @@ EOF
     # permission checks.
 
     # it should operate by analogy with StrictModes from sshd_config(5)
-    export MONKEYSPHERE_STRICT_MODES=no
+    export MONKEYSPHERE_STRICT_MODES=false
 fi