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

@ -7,7 +7,12 @@
# Test the correct handling of hardlinks by xorriso options
# -update_r , -hardlinks perform_update , and -extract
. inc/releng_getopts.inc
not_in_releng_exit() {
printf "\nPlease execute the tests from releng directory.\n\n"
exit 1
}
. inc/releng_getopts.inc || not_in_releng_exit
if [ ! -x $RELENG_XORRISO ]; then
print_help