From 7c3d631acc155689ce8f24c19e3735e4d57c5902 Mon Sep 17 00:00:00 2001 From: Athmane Madjoudj Date: Aug 30 2011 06:21:23 +0000 Subject: Merge branch 'master' of gitorious.org:testautomation/t_functional --- diff --git a/tests/p_procinfo/5-test_procinfo.sh b/tests/p_procinfo/5-test_procinfo.sh index 6339c57..9dd8bfa 100755 --- a/tests/p_procinfo/5-test_procinfo.sh +++ b/tests/p_procinfo/5-test_procinfo.sh @@ -5,8 +5,8 @@ t_Log "Running $0 - checking procinfo runs and returns non-zero exit status." PROCINFO=`which procinfo` -[ "$PROCINFO" ] || { t_log "Failed to find procinfo binary. Cannot continue."; exit $FAIL; } +[ "$PROCINFO" ] || { t_Log "Failed to find procinfo binary. Cannot continue."; exit $FAIL; } $PROCINFO &>/dev/null -[ $? -eq 0 ] || { t_log "Procinfo exited with non-zero status. That ain't good..."; exit $FAIL; } +[ $? -eq 0 ] || { t_Log "Procinfo exited with non-zero status. That ain't good..."; exit $FAIL; }