mirror of
https://github.com/rustdesk/rustdesk.git
synced 2026-11-26 07:38:55 +00:00
test(windows): create protected output directory in handoff test
Exercise the production directory constructor under the retained staging-directory guard while preserving the existing elevated and unelevated assertions. Signed-off-by: fufesou <linlong1266@gmail.com>
This commit is contained in:
1 parent
a188f7b8f1
commit
d7fb4aff5f
1 file changed
+1
-1
@@ -183,7 +183,7 @@ mod tests {
|
||||
};
|
||||
let mut script = write_install_script(commands, &source).unwrap();
|
||||
let runner = script.file.path().with_extension("bat.dir");
|
||||
fs::create_dir(&runner).unwrap();
|
||||
directory::create(&runner).unwrap();
|
||||
let output = run_script(&mut script);
|
||||
let copied = fs::read(&marker).unwrap();
|
||||
let cleaned = !runner.exists()
|
||||
|
||||
Reference in new issue
Block a user