Blame tests/p_coreutils/user.sh

Alice Kaerast 303e84
#!/bin/bash
Alice Kaerast 303e84
# Author: Alice Kaerast <alice@kaerast.info>
Alice Kaerast 303e84
Alice Kaerast 303e84
t_Log "$0 - test various user commands from coreutils"
Christoph Galuschka bde4e7
who
Christoph Galuschka bde4e7
echo $?
Christoph Galuschka bde4e7
who | grep -q "$LOGNAME" && who mom likes
Christoph Galuschka bde4e7
echo $?
Christoph Galuschka bde4e7
who | grep -q "$LOGNAME" && who mom likes | grep -q "$LOGNAME" && users
Christoph Galuschka bde4e7
echo $?
Christoph Galuschka bde4e7
who | grep -q "$LOGNAME" && who mom likes | grep -q "$LOGNAME" && users | grep -q "$LOGNAME" && id
Christoph Galuschka bde4e7
echo $?
Christoph Galuschka bde4e7
who | grep -q "$LOGNAME" && who mom likes | grep -q "$LOGNAME" && users | grep -q "$LOGNAME" && id | grep -q "$LOGNAME" && logname
Christoph Galuschka bde4e7
echo $?
Alice Kaerast 303e84
who | grep -q "$LOGNAME" && who mom likes | grep -q "$LOGNAME" && users | grep -q "$LOGNAME" && id | grep -q "$LOGNAME" && logname | grep -q "$LOGNAME"
Christoph Galuschka bde4e7
Alice Kaerast 303e84
t_CheckExitStatus $?