File: wdf-dump-test

package info (click to toggle)
wit 3.01a-5.1
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 9,468 kB
  • sloc: ansic: 109,416; pascal: 2,205; sh: 1,972; makefile: 770
file content (11 lines) | stat: -rwxr-xr-x 203 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
set -e

echo 'Hello, world' > "$AUTOPKGTEST_TMP/content"

res=$(wdf-dump -t "$AUTOPKGTEST_TMP/content")

if echo "$res" | grep -q "WOULD dump WDF  $AUTOPKGTEST_TMP/content"; then
 exit 0
else
 exit 1
fi