summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrad Henry <brad@samba.org>2006-10-14 19:25:14 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 14:21:01 -0500
commit85ccd43f70ac47a23b28c1c85a1c57095640e3d0 (patch)
treecf9c2aa20481da2ba529931e651670397297ab09
parent2c594ee12b75e291204c213cbf2400c3c1561ebc (diff)
downloadsamba-85ccd43f70ac47a23b28c1c85a1c57095640e3d0.tar.gz
samba-85ccd43f70ac47a23b28c1c85a1c57095640e3d0.tar.bz2
samba-85ccd43f70ac47a23b28c1c85a1c57095640e3d0.zip
r19278: Change the delete_directory() expect function so that rmdir will
automatically remove any subdirs and files of the directory to be deleted. (This used to be commit a41eefaaa738177f55d93b227f341f903a902939)
-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." {