summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorMichael DeHaan <mdehaan@redhat.com>2007-10-17 18:11:51 -0400
committerMichael DeHaan <mdehaan@redhat.com>2007-10-17 18:11:51 -0400
commit4a7d0c46c7dd4ab46a4850bd462729d1ea6be497 (patch)
tree918f0f0b66de6cda083d8dd3d888fd7589c24cba /Makefile
parent940a0bbbe44db52c06514423823f865a6c579e3a (diff)
downloadthird_party-cobbler-4a7d0c46c7dd4ab46a4850bd462729d1ea6be497.zip
third_party-cobbler-4a7d0c46c7dd4ab46a4850bd462729d1ea6be497.tar.gz
third_party-cobbler-4a7d0c46c7dd4ab46a4850bd462729d1ea6be497.tar.xz
Various changes to allow for increased performance in the WebUI and in saving state, plus
a fix to import that keeps from creating extra yum repo entries for various distros.
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