diff options
Diffstat (limited to 'tools/init_testr_if_needed.sh')
-rwxr-xr-x | tools/init_testr_if_needed.sh | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/tools/init_testr_if_needed.sh b/tools/init_testr_if_needed.sh new file mode 100755 index 00000000..9d1e22f9 --- /dev/null +++ b/tools/init_testr_if_needed.sh @@ -0,0 +1,8 @@ +#!/bin/sh +# this is rather stupid script is needed as testr init +# complains if there is already a repo. +if [ -d nova_tests/.testrepository ] +then + exit 0 +fi +testr init -d nova_tests |