summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile7
1 files changed, 6 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 11dc5ce..4004fbe 100644
--- a/Makefile
+++ b/Makefile
@@ -17,8 +17,13 @@ manpage:
pod2html ./docs/cobbler.pod > ./docs/cobbler.html
test:
+ -mkdir -p /tmp/cobbler_test_bak
+ -cp /var/lib/cobbler/distros* /tmp/cobbler_test_bak
+ -cp /var/lib/cobbler/profiles* /tmp/cobbler_test_bak
+ -cp /var/lib/cobbler/systems* /tmp/cobbler_test_bak
+ -cp /var/lib/cobbler/repos* /tmp/cobbler_test_bak
python tests/tests.py
- -rm -rf /tmp/_cobbler-*
+ -cp /tmp/cobbler_test_bak/* /var/lib/cobbler
test2:
python tests/multi.py