tests: Move libsmb-basic to fileserver_smb1 environment
authorVolker Lendecke <vl@samba.org>
Fri, 17 Feb 2023 14:40:30 +0000 (15:40 +0100)
committerJule Anger <janger@samba.org>
Tue, 11 Apr 2023 15:09:09 +0000 (15:09 +0000)
This has the lower-case share, used in the next commit

Bug: https://bugzilla.samba.org/show_bug.cgi?id=15313
Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
(cherry picked from commit a9301d8f2956409a6d36e7776d0237d03bfbdbf6)

selftest/target/Samba3.pm
source4/selftest/tests.py

index fec50961617de7f5005845fbf2b9067ebc1a772f..c8fe925a948ad337150387dd02aa88db5856389c 100755 (executable)
@@ -2106,6 +2106,7 @@ sub setup_fileserver_smb1
 [global]
        client min protocol = CORE
        server min protocol = LANMAN1
+       check parent directory delete on close = yes
 
 [hidenewfiles]
        path = $prefix_abs/share
index 9f303614613d1b6c84b7d8e0a522c32c50db7432..052058383f72671849788e1b7c379c2a5b732723 100755 (executable)
@@ -532,7 +532,7 @@ for t in smbtorture4_testsuites("dlz_bind9."):
     # The dlz_bind9 tests needs to look at the DNS database
     plansmbtorture4testsuite(t, "chgdcpass:local", ["ncalrpc:$SERVER", '-U$USERNAME%$PASSWORD'])
 
-planpythontestsuite("nt4_dc_smb1", "samba.tests.libsmb-basic")
+planpythontestsuite("fileserver_smb1", "samba.tests.libsmb-basic")
 
 planpythontestsuite("ad_member", "samba.tests.smb-notify",
                     environ={'USERNAME':'$DC_USERNAME',