diff options
| author | Sami Kerola <kerolasa@iki.fi> | 2014-02-16 15:22:56 +0000 |
|---|---|---|
| committer | Karel Zak <kzak@redhat.com> | 2014-03-07 11:52:57 +0100 |
| commit | 2f791546395cb43f3f93de6c095c812c7cd5237f (patch) | |
| tree | 0fe025270e9c5acbb15ef7d433c553a72fdfdf1e /tests/ts/libmount/context | |
| parent | 22c3c4f936f74d19e72657620b4f99a36bac555f (diff) | |
| download | util-linux-2f791546395cb43f3f93de6c095c812c7cd5237f.tar.gz | |
tests: check commands needed for running a test exist
Signed-off-by: Sami Kerola <kerolasa@iki.fi>
Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'tests/ts/libmount/context')
| -rwxr-xr-x | tests/ts/libmount/context | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/tests/ts/libmount/context b/tests/ts/libmount/context index 7d06a28f0..35e1a014e 100755 --- a/tests/ts/libmount/context +++ b/tests/ts/libmount/context @@ -7,8 +7,13 @@ TS_DESC="context" . $TS_TOPDIR/functions.sh ts_init "$*" -ts_skip_nonroot +ts_check_test_command "$TS_CMD_FDISK" +ts_check_test_command "$TS_CMD_FINDMNT" +ts_check_test_command "$TS_CMD_MOUNT" +ts_check_test_command "$TS_CMD_UMOUNT" + +ts_skip_nonroot TESTPROG="$TS_HELPER_LIBMOUNT_CONTEXT" LABEL=libmount-test UUID=$(uuidgen) |
