check for execution from releng/

This commit is contained in:
George Danchev
2011-07-13 11:24:32 +00:00
parent 0dee6a5bb5
commit 42fec11080
7 changed files with 44 additions and 6 deletions

View File

@ -5,8 +5,13 @@
set -e
not_in_releng_exit() {
printf "\nPlease execute the tests from releng directory.\n\n"
exit 1
}
# Include common bits
. inc/releng_getopts.inc
. inc/releng_getopts.inc || not_in_releng_exit
# Each releng_ test should decide whether or not it needs
# a xorriso binary to test, since some do compilations only.