From bde4e7abb241f07d8b04e8ee9a5693b8faf4ed28 Mon Sep 17 00:00:00 2001 From: Christoph Galuschka Date: Nov 13 2012 19:02:43 +0000 Subject: made user.sh more verbose for debugging --- diff --git a/tests/p_coreutils/user.sh b/tests/p_coreutils/user.sh index cfaa2b6..d9cf342 100755 --- a/tests/p_coreutils/user.sh +++ b/tests/p_coreutils/user.sh @@ -2,5 +2,16 @@ # Author: Alice Kaerast t_Log "$0 - test various user commands from coreutils" +who +echo $? +who | grep -q "$LOGNAME" && who mom likes +echo $? +who | grep -q "$LOGNAME" && who mom likes | grep -q "$LOGNAME" && users +echo $? +who | grep -q "$LOGNAME" && who mom likes | grep -q "$LOGNAME" && users | grep -q "$LOGNAME" && id +echo $? +who | grep -q "$LOGNAME" && who mom likes | grep -q "$LOGNAME" && users | grep -q "$LOGNAME" && id | grep -q "$LOGNAME" && logname +echo $? who | grep -q "$LOGNAME" && who mom likes | grep -q "$LOGNAME" && users | grep -q "$LOGNAME" && id | grep -q "$LOGNAME" && logname | grep -q "$LOGNAME" + t_CheckExitStatus $?