[tracker] tests: Ensure folder is deleted
- From: Carlos Garnacho <carlosg src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [tracker] tests: Ensure folder is deleted
- Date: Wed, 14 Sep 2016 20:24:07 +0000 (UTC)
commit 104f8df81ef46d570318e2f76ff8419a28ce976f
Author: Carlos Garnacho <carlosg gnome org>
Date: Wed Sep 14 22:12:00 2016 +0200
tests: Ensure folder is deleted
If it previously fails somewhere here, the ttl folder will be
created from earlier attempts, and mkdir will fail. Attempt to
delete the folder before, just in case it exists.
tests/functional-tests/ttl/Makefile.am | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/tests/functional-tests/ttl/Makefile.am b/tests/functional-tests/ttl/Makefile.am
index bf02a1c..0c4d60e 100644
--- a/tests/functional-tests/ttl/Makefile.am
+++ b/tests/functional-tests/ttl/Makefile.am
@@ -2,7 +2,7 @@ BUILT_SOURCES = gen-test-data.stamp
gen-test-data.stamp:
@echo "Generate data"
- mkdir ttl
+ rm -rf ttl && mkdir ttl
${top_srcdir}/utils/data-generators/cc/generate ${top_srcdir}/utils/data-generators/cc/max.cfg
mv ttl/* . && rmdir ttl
touch gen-test-data.stamp
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]