From 82c05d097f720a75802e3b6d171112bef0b0f3e6 Mon Sep 17 00:00:00 2001 From: Christoph Galuschka Date: Nov 15 2012 20:06:09 +0000 Subject: Revert "moved user.sh to production as jenkins setup should be fixed" still not working This reverts commit b422323650c6b50a749dd112e4a34cb69754d167. --- diff --git a/test_incomplete/user.sh b/test_incomplete/user.sh new file mode 100755 index 0000000..d9cf342 --- /dev/null +++ b/test_incomplete/user.sh @@ -0,0 +1,17 @@ +#!/bin/bash +# 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 $? diff --git a/tests/p_coreutils/user.sh b/tests/p_coreutils/user.sh deleted file mode 100755 index d9cf342..0000000 --- a/tests/p_coreutils/user.sh +++ /dev/null @@ -1,17 +0,0 @@ -#!/bin/bash -# 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 $?