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

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