From 303e8443cf57e1adbe215bb3c8db3c6538ff52eb Mon Sep 17 00:00:00 2001 From: Alice Kaerast Date: Nov 13 2012 10:41:48 +0000 Subject: test basic functionality of user-related commands in coreutils --- diff --git a/tests/p_coreutils/user.sh b/tests/p_coreutils/user.sh new file mode 100755 index 0000000..cfaa2b6 --- /dev/null +++ b/tests/p_coreutils/user.sh @@ -0,0 +1,6 @@ +#!/bin/bash +# Author: Alice Kaerast + +t_Log "$0 - test various user commands from coreutils" +who | grep -q "$LOGNAME" && who mom likes | grep -q "$LOGNAME" && users | grep -q "$LOGNAME" && id | grep -q "$LOGNAME" && logname | grep -q "$LOGNAME" +t_CheckExitStatus $?