Blame SOURCES/0020-tests-add-missing-program-checks.patch

069435
From 68ab6d9691e667f89f72bc7eb39a5300b2f6cbaf Mon Sep 17 00:00:00 2001
069435
From: Karel Zak <kzak@redhat.com>
069435
Date: Tue, 5 Mar 2019 13:56:45 +0100
069435
Subject: [PATCH] tests: add missing program checks
069435
069435
Addresses: https://bugzilla.redhat.com/show_bug.cgi?id=1681062
069435
Signed-off-by: Karel Zak <kzak@redhat.com>
069435
---
069435
 tests/ts/cal/bigyear    | 2 +-
069435
 tests/ts/cal/month      | 2 +-
069435
 tests/ts/cal/sep1752    | 2 +-
069435
 tests/ts/misc/mbsencode | 2 ++
069435
 tests/ts/misc/strtosize | 2 ++
069435
 5 files changed, 7 insertions(+), 3 deletions(-)
069435
069435
diff --git a/tests/ts/cal/bigyear b/tests/ts/cal/bigyear
069435
index d205c3afd..34139fd27 100755
069435
--- a/tests/ts/cal/bigyear
069435
+++ b/tests/ts/cal/bigyear
069435
@@ -18,7 +18,7 @@ TS_DESC="Year 2147483646"
069435
 . $TS_TOPDIR/functions.sh
069435
 ts_init "$*"
069435
 
069435
-ts_check_test_command "$TS_CMD_CAL"
069435
+ts_check_test_command "$TS_HELPER_CAL"
069435
 
069435
 export TERM=linux
069435
 
069435
diff --git a/tests/ts/cal/month b/tests/ts/cal/month
069435
index 9794e90c0..37996acae 100755
069435
--- a/tests/ts/cal/month
069435
+++ b/tests/ts/cal/month
069435
@@ -22,7 +22,7 @@ TS_DESC="month"
069435
 . $TS_TOPDIR/functions.sh
069435
 ts_init "$*"
069435
 
069435
-ts_check_test_command "$TS_CMD_CAL"
069435
+ts_check_test_command "$TS_HELPER_CAL"
069435
 
069435
 export TERM=linux
069435
 
069435
diff --git a/tests/ts/cal/sep1752 b/tests/ts/cal/sep1752
069435
index 3128261cd..41c30d40e 100755
069435
--- a/tests/ts/cal/sep1752
069435
+++ b/tests/ts/cal/sep1752
069435
@@ -18,7 +18,7 @@ TS_DESC="September 1752"
069435
 . $TS_TOPDIR/functions.sh
069435
 ts_init "$*"
069435
 
069435
-ts_check_test_command "$TS_CMD_CAL"
069435
+ts_check_test_command "$TS_HELPER_CAL"
069435
 
069435
 export TERM=linux
069435
 
069435
diff --git a/tests/ts/misc/mbsencode b/tests/ts/misc/mbsencode
069435
index 405d34c56..139148259 100755
069435
--- a/tests/ts/misc/mbsencode
069435
+++ b/tests/ts/misc/mbsencode
069435
@@ -22,6 +22,8 @@ TS_DESC="mbsencode"
069435
 . $TS_TOPDIR/functions.sh
069435
 ts_init "$*"
069435
 
069435
+ts_check_test_command "$TS_HELPER_MBSENCODE"
069435
+
069435
 # These test may fail on some machines (locales, other libc...)
069435
 TS_KNOWN_FAIL="yes"
069435
 
069435
diff --git a/tests/ts/misc/strtosize b/tests/ts/misc/strtosize
069435
index 68b3b8bab..a5914a939 100755
069435
--- a/tests/ts/misc/strtosize
069435
+++ b/tests/ts/misc/strtosize
069435
@@ -21,6 +21,8 @@ TS_DESC="strtosize"
069435
 . $TS_TOPDIR/functions.sh
069435
 ts_init "$*"
069435
 
069435
+ts_check_test_command "$TS_HELPER_STRUTILS"
069435
+
069435
 $TS_HELPER_STRUTILS --size -1 >> $TS_OUTPUT 2>&1
069435
 $TS_HELPER_STRUTILS --size 0 >> $TS_OUTPUT 2>&1
069435
 $TS_HELPER_STRUTILS --size 1 >> $TS_OUTPUT 2>&1
069435
-- 
069435
2.20.1
069435