strip explicitly creates the new files. This will not work on windows if
the files already exist.
Also, if strip fails to create the files for any reason, we would check
the previous run's files and succeed. However, the test should fail
then.
Signed-off-by: Ulf Hermann <ulf.hermann@qt.io>
+2018-07-16 Ulf Hermann <ulf.hermann@qt.io>
+
+ * run-strip-reloc.sh: Remove previous testfiles before running the
+ next test.
+
2018-07-17 Mark Wielaard <mark@klomp.org>
* hello_riscv64.ko.bz2: Updated with debuginfo.
outfile2=out.stripped2
debugfile2=out.debug2
+ rm -f $outfile1 $debugfile1 $outfile2 $debugfile2
+
testrun ${abs_top_builddir}/src/strip -o $outfile1 -f $debugfile1 $infile ||
{ echo "*** failure strip $infile"; status=1; }