Commit 876dadc0 authored by Per Cederqvist's avatar Per Cederqvist
Browse files

Remove the temporary file before copying files to it, to avoid

permission problems if the files in the source tree has read-only
permissions.
parent b1940287
......@@ -24,6 +24,7 @@
# Test parsing a broken aux-item file as a result of SIGWINCH.
set auxfile "lyskomd.0/aux-items-46.conf"
system "rm -f $auxfile"
system "cp $aux_item_default_conf_file $auxfile"
lyskomd_start "$auxfile"
......@@ -44,6 +45,7 @@ simple_expect "=1003 40 { 10104 10103 10102 10101 10100 35 34 33 32 31 30 29 28
# Create a broken aux-item file. A mistake can happen so easily...
system "rm -f $auxfile"
system "cp $srcdir/lyskomd.0/aux-items-bad.conf $auxfile"
system "kill -WINCH $lyskomd_pid"
talk_to lyskomd
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment