From 1104916d227550f7c445e61d8ee3b62983c052c4 Mon Sep 17 00:00:00 2001 From: Andreas Schneider Date: Thu, 30 Mar 2023 10:26:40 +0200 Subject: [PATCH] s3:tests: Also clear the download area in smbget msdfs_link test BUG: https://bugzilla.samba.org/show_bug.cgi?id=15345 Signed-off-by: Andreas Schneider Reviewed-by: Andrew Bartlett --- source3/script/tests/test_smbget.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/source3/script/tests/test_smbget.sh b/source3/script/tests/test_smbget.sh index 0feb47236d5..8f57f671fe9 100755 --- a/source3/script/tests/test_smbget.sh +++ b/source3/script/tests/test_smbget.sh @@ -46,7 +46,7 @@ remove_test_data() clear_download_area() { - rm -rf dir1 dir2 testfile dir001 dir004 + rm -rf dir1 dir2 testfile dir001 dir004 readable_file } test_singlefile_guest() @@ -260,6 +260,8 @@ test_update() # Test accessing an msdfs path. test_msdfs_link() { + clear_download_area + ${SMBGET} -v "-U${USERNAME}%${PASSWORD}" \ "smb://${SERVER}/msdfs-share/deeppath/msdfs-src2/readable_file" ret=$?