selftest: skip smb2.ioctl tests on ntvfs
[nivanova/samba-autobuild/.git] / selftest / selftest.py
index f35541a3e532b47a3bb67bc29fada34e0b4bceb1..af2e5528b40dd2a7af5cbfaff9d84d91401d052f 100755 (executable)
@@ -174,9 +174,6 @@ if opts.ldap:
 
 prefix = os.path.normpath(opts.prefix)
 
-if prefix == "":
-    raise Exception("using an empty prefix isn't allowed")
-
 # Ensure we have the test prefix around.
 #
 # We need restrictive permissions on this as some subdirectories in this tree
@@ -194,10 +191,8 @@ if not os.path.isdir(tmpdir_abs):
 
 srcdir_abs = os.path.abspath(opts.srcdir)
 
-if prefix_abs == "":
-    raise Exception("using an empty absolute prefix isn't allowed")
 if prefix_abs == "/":
-    raise Exception("using '/' as absolute prefix isn't allowed")
+    raise Exception("using '/' as absolute prefix is a bad idea")
 
 os.environ["PREFIX"] = prefix
 os.environ["KRB5CCNAME"] = os.path.join(prefix, "krb5ticket")