X-Git-Url: https://codewiz.org/gitweb?a=blobdiff_plain;f=tests%2Fbasic;h=6fe323798052523612d3db2964933fabf0847d32;hb=820957fe7d0af5ee5d916bd948b2ee0750fe73ea;hp=0516c6ce77fe35cea6e2bd9587f047f58429052f;hpb=8f21260ac24cb38c1e1dd5088783002d14c8c705;p=monkeysphere.git diff --git a/tests/basic b/tests/basic index 0516c6c..6fe3237 100755 --- a/tests/basic +++ b/tests/basic @@ -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 @@ -466,7 +466,7 @@ chmod o-w "$TESTHOME"/.monkeysphere.linktest echo echo "##################################################" echo "### make .monkeysphere directory a relative symlink and updating..." -ln -sfn .monkeysphere{.linktest,} +ln -sfn .monkeysphere.linktest "$TESTHOME"/.monkeysphere monkeysphere-authentication update-users $(whoami) echo echo "##################################################"