From 85ccd43f70ac47a23b28c1c85a1c57095640e3d0 Mon Sep 17 00:00:00 2001 From: Brad Henry Date: Sat, 14 Oct 2006 19:25:14 +0000 Subject: 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) --- source4/script/tests/win/common.exp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source4') 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." { -- cgit