From d545cf956a28d82f9da5d12efbfbcd6023767e52 Mon Sep 17 00:00:00 2001 From: Christoph Galuschka Date: Nov 17 2011 15:20:20 +0000 Subject: Added minicom test with respeect to different versioning on C5/C6 --- diff --git a/tests/p_minicom/minicom_test.sh b/tests/p_minicom/minicom_test.sh new file mode 100755 index 0000000..4c63bae --- /dev/null +++ b/tests/p_minicom/minicom_test.sh @@ -0,0 +1,19 @@ +#!/bin/sh +# Author: Athmane Madjoudj +# Author: Christph Galuschka + +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 "${CHECK_FOR}" >/dev/null 2>&1 + +t_CheckExitStatus $?