File: t02

package info (click to toggle)
diod 1.0.24-5.2
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 29,200 kB
  • sloc: ansic: 33,159; sh: 6,545; makefile: 363; perl: 80
file content (7 lines) | stat: -rwxr-xr-x 220 bytes parent folder | download | duplicates (7)
1
2
3
4
5
6
7
#!/bin/bash -e

TEST=$(basename $0 | cut -d- -f1)
test -n "$FAKEROOTKEY" && exit 77 #skip if under fakeroot
test $(id -u) == 0 || exit 77 #skip if not root
./tsuppgrp >$TEST.out 2>&1
diff $TEST.exp $TEST.out >$TEST.diff