From 1011b52a7b7a44a872b768726c5b2c7a969c3d9b Mon Sep 17 00:00:00 2001 From: Christoph Galuschka Date: Nov 17 2011 11:57:09 +0000 Subject: Added minicom and basic working test --- diff --git a/tests/p_minicom/0-install_minicom.sh b/tests/p_minicom/0-install_minicom.sh new file mode 100755 index 0000000..9e80faf --- /dev/null +++ b/tests/p_minicom/0-install_minicom.sh @@ -0,0 +1,7 @@ +#!/bin/bash +# Author: Christoph Galuschka + +# Install minicom +t_InstallPackage minicom + + diff --git a/tests/p_minicom/minicom_test.sh b/tests/p_minicom/minicom_test.sh new file mode 100755 index 0000000..be6b482 --- /dev/null +++ b/tests/p_minicom/minicom_test.sh @@ -0,0 +1,13 @@ +#!/bin/sh +# Author: Athmane Madjoudj +# Author: Christph Galuschka + +t_Log "Running $0 - very basic minicom test." + +# Only checking for correct output of '-v' + +VERSION="2.3" + +minicom -v | grep "${CHECK_FOR}" >/dev/null 2>&1 + +t_CheckExitStatus $?