diff options
Diffstat (limited to 'tests/common')
-rw-r--r-- | tests/common | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/tests/common b/tests/common index 8a626b6a..c50b661f 100644 --- a/tests/common +++ b/tests/common @@ -94,6 +94,14 @@ check_prereq() fi } +check_global_prereq() +{ + which $1 &> /dev/null + if [ $? -ne 0 ]; then + _fail "Failed system wide prerequisities: $1"; + fi +} + check_image() { local image |