check for execution from releng/
This commit is contained in:
@ -3,10 +3,15 @@
|
||||
# Copyright 2011 George Danchev <danchev@spnet.net>
|
||||
# Licensed under GNU GPL version 2
|
||||
|
||||
not_in_releng_exit() {
|
||||
printf "\nPlease execute the tests from releng directory.\n\n"
|
||||
exit 1
|
||||
}
|
||||
|
||||
set -e
|
||||
|
||||
# Include common bits
|
||||
. inc/releng_getopts.inc
|
||||
. inc/releng_getopts.inc || not_in_releng_exit
|
||||
|
||||
printf "\n$0: FAIL: === TEPLATE === RENAME ME TO releng_<title>\n"
|
||||
|
||||
|
Reference in New Issue
Block a user