summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xtests/run-strip-g.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/run-strip-g.sh b/tests/run-strip-g.sh
index 0834c7c3..de893252 100755
--- a/tests/run-strip-g.sh
+++ b/tests/run-strip-g.sh
@@ -56,6 +56,7 @@ fi
# arm (with data marker in .debug_frame). See tests/run-addrcfi.sh
testfiles testfilearm
+rm -f strip.out debug.out readelf.out
echo arm strip -g to file with debug file
testrun ${abs_top_builddir}/src/strip -g -o strip.out -f debug.out testfilearm ||
{ echo "*** failed to strip -g -o strip.out -f debug.out testfilearm"; exit -1; }
@@ -81,6 +82,7 @@ fi
# aarch64 (with data marker in .debug_frame). See tests/run-addrcfi.sh
testfiles testfileaarch64
+rm -f strip.out debug.out readelf.out
echo aarch64 strip -g to file with debug file
testrun ${abs_top_builddir}/src/strip -g -o strip.out -f debug.out testfileaarch64 ||
{ echo "*** failed to strip -g -o strip.out -f debug.out testfileaarch64"; exit -1; }