summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source4/script/tests/win/common.exp2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/script/tests/win/common.exp b/source4/script/tests/win/common.exp
index f599536f75..a7ba95d722 100644
--- a/source4/script/tests/win/common.exp
+++ b/source4/script/tests/win/common.exp
@@ -338,7 +338,7 @@ proc delete_directory { remote_prompt sharepath } {
set default_err_str "Unknown error in function delete_directory"
set err_str $default_err_str
- set cmd "rmdir $sharepath\r\n"
+ set cmd "rmdir /S /Q $sharepath\r\n"
send $cmd
expect {
"Access is denied." {