projects
/
bertos.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Move dir only if exists to avoid error message.
[bertos.git]
/
test
/
run_tests.sh
diff --git
a/test/run_tests.sh
b/test/run_tests.sh
index f7eb64659fab15f5664d435eb618e59037171018..fde41fc190d474357c29592a1e1c7932b7032d2c 100755
(executable)
--- a/
test/run_tests.sh
+++ b/
test/run_tests.sh
@@
-39,7
+39,9
@@
runout='/dev/null'
set -o pipefail
rm -rf "${TESTOUT}.old"
-mv -f "${TESTOUT}" "$TESTOUT.old"
+if [ -d "${TESTOUT}" ] ; then
+ mv -f "${TESTOUT}" "$TESTOUT.old"
+fi
mkdir -p "$TESTOUT"
for src in $TESTS; do