diff options
Diffstat (limited to 'selftest')
-rwxr-xr-x | selftest/selftest.py | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/selftest/selftest.py b/selftest/selftest.py index f35541a3e5..af2e5528b4 100755 --- a/selftest/selftest.py +++ b/selftest/selftest.py @@ -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") |