diff options
author | Michael E Brown <michael_e_brown@dell.com> | 2007-12-10 11:17:13 -0600 |
---|---|---|
committer | Michael E Brown <michael_e_brown@dell.com> | 2007-12-10 11:17:13 -0600 |
commit | 139b03ff861a7df30d40115718f1a1fb21758530 (patch) | |
tree | 449f3cb77be9b87b222dfa8089e7e151f13c5284 /docs/releasetests.sh | |
parent | ce6e26a58c56b7b8e0b770318a6a1469e6937e66 (diff) | |
parent | cc1e30a4b1e7e719aa4fee84dabf44fa59b38b26 (diff) | |
download | mock-139b03ff861a7df30d40115718f1a1fb21758530.tar.gz mock-139b03ff861a7df30d40115718f1a1fb21758530.tar.xz mock-139b03ff861a7df30d40115718f1a1fb21758530.zip |
Merge branch 'master' of ssh://mebrown@git.fedoraproject.org/git/hosted/mock
Diffstat (limited to 'docs/releasetests.sh')
-rwxr-xr-x | docs/releasetests.sh | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/docs/releasetests.sh b/docs/releasetests.sh index 693d12c..e042f1f 100755 --- a/docs/releasetests.sh +++ b/docs/releasetests.sh @@ -32,8 +32,9 @@ gcc -o docs/daemontest docs/daemontest.c # most tests below will use this mock command line # testConfig=fedora-8-x86_64 -MOCKCMD="sudo ./py/mock.py --resultdir=$TOP_SRCTREE/mock-unit-test --uniqueext=unittest -r $testConfig" -CHROOT=/var/lib/mock/${testConfig}-unittest/root +uniqueext="$$-$RANDOM" +MOCKCMD="sudo ./py/mock.py --resultdir=$TOP_SRCTREE/mock-unit-test --uniqueext=$uniqueext -r $testConfig" +CHROOT=/var/lib/mock/${testConfig}-$uniqueext/root # clear out any old test results sudo rm -rf $TOP_SRCTREE/mock-unit-test @@ -121,7 +122,7 @@ fi # Test build all configs we ship. # for i in $(ls etc/mock | grep .cfg | grep -v default | grep -v ppc); do - time sudo ./py/mock.py --resultdir=$TOP_SRCTREE/mock-unit-test --uniqueext=unittest rebuild mock-*.src.rpm -r $(basename $i .cfg) + time sudo ./py/mock.py --resultdir=$TOP_SRCTREE/mock-unit-test --uniqueext=$uniqueext rebuild mock-*.src.rpm -r $(basename $i .cfg) done |