Author: brad Date: 2006-10-14 19:25:14 +0000 (Sat, 14 Oct 2006) New Revision: 19278
WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=19278 Log: Change the delete_directory() expect function so that rmdir will automatically remove any subdirs and files of the directory to be deleted. Modified: branches/SAMBA_4_0/source/script/tests/win/common.exp Changeset: Modified: branches/SAMBA_4_0/source/script/tests/win/common.exp =================================================================== --- branches/SAMBA_4_0/source/script/tests/win/common.exp 2006-10-14 14:50:30 UTC (rev 19277) +++ branches/SAMBA_4_0/source/script/tests/win/common.exp 2006-10-14 19:25:14 UTC (rev 19278) @@ -338,7 +338,7 @@ 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." {