mirror of
https://github.com/samba-team/samba.git
synced 2025-12-19 12:23:49 +03:00
tests: Use --configfile instead of -s
We should use long options in tests to make clear what we are trying to do. Also the -s short option will be removed for --configfile later. Signed-off-by: Andreas Schneider <asn@samba.org> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
This commit is contained in:
committed by
Andrew Bartlett
parent
86f7bc7a37
commit
f291b8f157
@@ -170,7 +170,7 @@ class DomainBackupOfflineCmp(BlackboxTestCase):
|
||||
def backup(self, prov_dir):
|
||||
# Run the backup and check we got one backup tar file
|
||||
cmd = ("samba-tool domain backup offline --targetdir={prov_dir} "
|
||||
"-s {prov_dir}/etc/smb.conf").format(prov_dir=prov_dir)
|
||||
"--configfile={prov_dir}/etc/smb.conf").format(prov_dir=prov_dir)
|
||||
self.check_output(cmd)
|
||||
|
||||
tar_files = [fn for fn in os.listdir(prov_dir)
|
||||
|
||||
Reference in New Issue
Block a user