+# invoke this instead of ssh_test() if you want this test to be
+# skipped when the working directory has bad permissions.
+ssh_good_perm_test() {
+ if [ "$TEMPDIR_PERMISSIONS_SAFE" = no ] ; then
+ echo "WARNING!!! Test SKIPPED because we are running in an unsafe working directory."
+ else
+ ssh_test "$@"
+ fi
+}
+
+