]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
testprogs: use uniqe names in "net ads dns" tests to avoid conflicts
authorBjörn Baumbach <bb@sernet.de>
Wed, 22 Feb 2023 19:15:23 +0000 (19:15 +0000)
committerBjörn Baumbach <bb@sernet.de>
Fri, 3 Mar 2023 11:58:34 +0000 (11:58 +0000)
Avoid conflicts when running the same tests multiple times.
Reduces the needs to cleanup all objects properly.

Signed-off-by: Björn Baumbach <bb@sernet.de>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
testprogs/blackbox/test_net_ads_dns.sh

index 0be5fd4b3f2270c0ba444f21cc28398b2f00a617..d2d1dec94259e258edcce6fb0214d25232cb2764 100755 (executable)
@@ -42,9 +42,9 @@ IPADDRESS=10.1.4.111
 IP6ADDRESS=fd00:1a1a::1:5ee:bad:c0de
 IPADDRMAC=10.1.4.124
 UNPRIVIP=10.1.4.130
-NAME=testname
-UNPRIVNAME=unprivname
-UNPRIVUSER=unprivuser
+NAME=testname.$$
+UNPRIVNAME=unprivname.$$
+UNPRIVUSER=unprivuser.$$
 UNPRIVPASS=UnPrivPass1
 
 # These tests check that privileged users can add DNS names and that