From 629bc6a4c19b9ed6b54cf0fe23cf79aff59184a3 Mon Sep 17 00:00:00 2001 From: Athmane Madjoudj Date: Nov 17 2011 21:37:57 +0000 Subject: Fix minicom test, we can't rely on version number --- diff --git a/tests/p_minicom/minicom_test.sh b/tests/p_minicom/minicom_test.sh index 71183c3..467e4e3 100755 --- a/tests/p_minicom/minicom_test.sh +++ b/tests/p_minicom/minicom_test.sh @@ -4,16 +4,6 @@ t_Log "Running $0 - very basic minicom test." -# Only checking for correct output of '-v' -# with respect to different versions on C5 and C6 - -if (t_GetPkgRel basesystem | grep -q el6) -then - VERSION="2.3" -else - VERSION="2.1" -fi - -minicom -v | grep "${VERSION}" >/dev/null 2>&1 +minicom -h | grep -q "terminal program" t_CheckExitStatus $?