|
|
069435 |
From 9bccbbf06a91f4e7bf5c0cddadf18265dc2e9e4b Mon Sep 17 00:00:00 2001
|
|
|
069435 |
From: Karel Zak <kzak@redhat.com>
|
|
|
069435 |
Date: Mon, 4 Mar 2019 16:42:30 +0100
|
|
|
069435 |
Subject: [PATCH 15/19] tests: add missing ts_check_test_command calls
|
|
|
069435 |
|
|
|
069435 |
Addresses: https://bugzilla.redhat.com/show_bug.cgi?id=1681062
|
|
|
069435 |
Upstream: http://github.com/karelzak/util-linux/commit/19e00ec9e9e9c36305cf2dd163d0333e2d72c671
|
|
|
069435 |
Signed-off-by: Karel Zak <kzak@redhat.com>
|
|
|
069435 |
---
|
|
|
069435 |
tests/ts/fsck/ismounted | 2 ++
|
|
|
069435 |
tests/ts/hexdump/format-strings | 1 +
|
|
|
069435 |
tests/ts/hexdump/highlighting | 1 +
|
|
|
069435 |
tests/ts/ipcs/limits | 1 +
|
|
|
069435 |
tests/ts/ipcs/limits2 | 1 +
|
|
|
069435 |
tests/ts/ipcs/mk-rm-msg | 1 +
|
|
|
069435 |
tests/ts/ipcs/mk-rm-sem | 1 +
|
|
|
069435 |
tests/ts/ipcs/mk-rm-shm | 1 +
|
|
|
069435 |
tests/ts/misc/swaplabel | 1 +
|
|
|
069435 |
9 files changed, 10 insertions(+)
|
|
|
069435 |
|
|
|
069435 |
diff --git a/tests/ts/fsck/ismounted b/tests/ts/fsck/ismounted
|
|
|
069435 |
index 2a55907a7..7d1fe6273 100755
|
|
|
069435 |
--- a/tests/ts/fsck/ismounted
|
|
|
069435 |
+++ b/tests/ts/fsck/ismounted
|
|
|
069435 |
@@ -22,6 +22,8 @@ ts_init "$*"
|
|
|
069435 |
|
|
|
069435 |
ts_check_test_command "$TS_CMD_FDISK"
|
|
|
069435 |
ts_check_test_command "$TS_CMD_MOUNT"
|
|
|
069435 |
+ts_check_test_command "$TS_CMD_UMOUNT"
|
|
|
069435 |
+ts_check_test_command "$TS_HELPER_ISMOUNTED"
|
|
|
069435 |
|
|
|
069435 |
ts_skip_nonroot
|
|
|
069435 |
ts_check_losetup
|
|
|
069435 |
diff --git a/tests/ts/hexdump/format-strings b/tests/ts/hexdump/format-strings
|
|
|
069435 |
index e6f9229a5..f2dc6a89b 100755
|
|
|
069435 |
--- a/tests/ts/hexdump/format-strings
|
|
|
069435 |
+++ b/tests/ts/hexdump/format-strings
|
|
|
069435 |
@@ -23,6 +23,7 @@ FILES="$TS_TOPDIR/ts/hexdump/files"
|
|
|
069435 |
ts_init "$*"
|
|
|
069435 |
|
|
|
069435 |
ts_check_test_command "$TS_CMD_HEXDUMP"
|
|
|
069435 |
+ts_check_test_command "$TS_HELPER_SYSINFO"
|
|
|
069435 |
|
|
|
069435 |
# on big endian systems some of the subtests have different expected output
|
|
|
069435 |
BYTE_ORDER=$($TS_HELPER_SYSINFO byte-order)
|
|
|
069435 |
diff --git a/tests/ts/hexdump/highlighting b/tests/ts/hexdump/highlighting
|
|
|
069435 |
index cf78f7b96..e57757978 100755
|
|
|
069435 |
--- a/tests/ts/hexdump/highlighting
|
|
|
069435 |
+++ b/tests/ts/hexdump/highlighting
|
|
|
069435 |
@@ -25,6 +25,7 @@ ADDRFMT='-e "%07.7_Ax\n"'
|
|
|
069435 |
ts_init "$*"
|
|
|
069435 |
|
|
|
069435 |
ts_check_test_command "$TS_CMD_HEXDUMP"
|
|
|
069435 |
+ts_check_test_command "$TS_HELPER_SYSINFO"
|
|
|
069435 |
|
|
|
069435 |
# on big endian systems some of the subtests have different expected output
|
|
|
069435 |
BYTE_ORDER=$($TS_HELPER_SYSINFO byte-order)
|
|
|
069435 |
diff --git a/tests/ts/ipcs/limits b/tests/ts/ipcs/limits
|
|
|
069435 |
index 7b64b3c17..671f23c77 100755
|
|
|
069435 |
--- a/tests/ts/ipcs/limits
|
|
|
069435 |
+++ b/tests/ts/ipcs/limits
|
|
|
069435 |
@@ -23,6 +23,7 @@ TS_DESC="limits overflow"
|
|
|
069435 |
ts_init "$*"
|
|
|
069435 |
|
|
|
069435 |
ts_check_test_command "$TS_CMD_IPCS"
|
|
|
069435 |
+ts_check_test_command "$TS_HELPER_SYSINFO"
|
|
|
069435 |
|
|
|
069435 |
ts_skip_nonroot
|
|
|
069435 |
ts_check_prog "bc"
|
|
|
069435 |
diff --git a/tests/ts/ipcs/limits2 b/tests/ts/ipcs/limits2
|
|
|
069435 |
index d23c41a35..77ad70f9b 100755
|
|
|
069435 |
--- a/tests/ts/ipcs/limits2
|
|
|
069435 |
+++ b/tests/ts/ipcs/limits2
|
|
|
069435 |
@@ -23,6 +23,7 @@ TS_DESC="basic limits"
|
|
|
069435 |
ts_init "$*"
|
|
|
069435 |
|
|
|
069435 |
ts_check_test_command "$TS_CMD_IPCS"
|
|
|
069435 |
+ts_check_test_command "$TS_HELPER_SYSINFO"
|
|
|
069435 |
ts_check_prog "bc"
|
|
|
069435 |
|
|
|
069435 |
. $TS_SELF/functions.sh
|
|
|
069435 |
diff --git a/tests/ts/ipcs/mk-rm-msg b/tests/ts/ipcs/mk-rm-msg
|
|
|
069435 |
index 25460e25d..de3682e87 100755
|
|
|
069435 |
--- a/tests/ts/ipcs/mk-rm-msg
|
|
|
069435 |
+++ b/tests/ts/ipcs/mk-rm-msg
|
|
|
069435 |
@@ -21,6 +21,7 @@ ts_init "$*"
|
|
|
069435 |
ts_check_test_command "$TS_CMD_IPCS"
|
|
|
069435 |
ts_check_test_command "$TS_CMD_IPCMK"
|
|
|
069435 |
ts_check_test_command "$TS_CMD_IPCRM"
|
|
|
069435 |
+ts_check_test_command "$TS_HELPER_SYSINFO"
|
|
|
069435 |
|
|
|
069435 |
. $TS_SELF/functions.sh
|
|
|
069435 |
|
|
|
069435 |
diff --git a/tests/ts/ipcs/mk-rm-sem b/tests/ts/ipcs/mk-rm-sem
|
|
|
069435 |
index 61e0cfdef..d7b505f7c 100755
|
|
|
069435 |
--- a/tests/ts/ipcs/mk-rm-sem
|
|
|
069435 |
+++ b/tests/ts/ipcs/mk-rm-sem
|
|
|
069435 |
@@ -21,6 +21,7 @@ ts_init "$*"
|
|
|
069435 |
ts_check_test_command "$TS_CMD_IPCS"
|
|
|
069435 |
ts_check_test_command "$TS_CMD_IPCMK"
|
|
|
069435 |
ts_check_test_command "$TS_CMD_IPCRM"
|
|
|
069435 |
+ts_check_test_command "$TS_HELPER_SYSINFO"
|
|
|
069435 |
|
|
|
069435 |
. $TS_SELF/functions.sh
|
|
|
069435 |
|
|
|
069435 |
diff --git a/tests/ts/ipcs/mk-rm-shm b/tests/ts/ipcs/mk-rm-shm
|
|
|
069435 |
index 838fb3f21..c21547b82 100755
|
|
|
069435 |
--- a/tests/ts/ipcs/mk-rm-shm
|
|
|
069435 |
+++ b/tests/ts/ipcs/mk-rm-shm
|
|
|
069435 |
@@ -21,6 +21,7 @@ ts_init "$*"
|
|
|
069435 |
ts_check_test_command "$TS_CMD_IPCS"
|
|
|
069435 |
ts_check_test_command "$TS_CMD_IPCMK"
|
|
|
069435 |
ts_check_test_command "$TS_CMD_IPCRM"
|
|
|
069435 |
+ts_check_test_command "$TS_HELPER_SYSINFO"
|
|
|
069435 |
|
|
|
069435 |
. $TS_SELF/functions.sh
|
|
|
069435 |
|
|
|
069435 |
diff --git a/tests/ts/misc/swaplabel b/tests/ts/misc/swaplabel
|
|
|
069435 |
index 646304508..22858b0ac 100755
|
|
|
069435 |
--- a/tests/ts/misc/swaplabel
|
|
|
069435 |
+++ b/tests/ts/misc/swaplabel
|
|
|
069435 |
@@ -20,6 +20,7 @@ ts_init "$*"
|
|
|
069435 |
|
|
|
069435 |
ts_check_test_command "$TS_CMD_MKSWAP"
|
|
|
069435 |
ts_check_test_command "$TS_CMD_SWAPLABEL"
|
|
|
069435 |
+ts_check_test_command "$TS_HELPER_SYSINFO"
|
|
|
069435 |
|
|
|
069435 |
# fallocate does not work on most file systems
|
|
|
069435 |
function fallocate_or_skip()
|
|
|
069435 |
--
|
|
|
069435 |
2.20.1
|
|
|
069435 |
|