File: unit-util-utmp-entry-missing.sh

package info (click to toggle)
snoopy 2.5.2-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 3,016 kB
  • sloc: ansic: 7,169; sh: 4,514; makefile: 1,095
file content (18 lines) | stat: -rwxr-xr-x 327 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#!/bin/bash



### Configure shell and bootstrap
#
set -e
set -u
. `dirname $BASH_SOURCE`/_bootstrap.sh



### Run the mock test
#
VAL_EXPECTED="(Entry not found.)"
VAL_SNOOPY=`$SNOOPY_TEST_CLI unit util utmp /dev/pts/9 $SNOOPY_CUR_TEST_DIR/unit-util-utmp-testUtmpFile`

snoopy_test_compareValues "$VAL_SNOOPY" "$VAL_EXPECTED"