File: case-00-hello.bash

package info (click to toggle)
lsof 4.99.4%2Bdfsg-2
  • links: PTS
  • area: main
  • in suites: forky, sid, trixie
  • size: 4,924 kB
  • sloc: ansic: 50,680; sh: 8,351; makefile: 1,194; perl: 940; awk: 214
file content (34 lines) | stat: -rwxr-xr-x 604 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
#
# An example of test case.
#

name=$(basename $0 .bash)

#
# The file path for lsof executable.
#
lsof=$1

#
# Used only when a test case is failed.
# $report specifies a temporary file.
# Store how the test case is failed to the temporary file.
# The test harness uses this temporary file to make summary messages.
# The test harness removes this temporary file.
#
report=$2

#
# Directory where this test case is.
#
tcasedir=$3

#
# Dialect of lsof
#
dialect=$4

# Return 0 means the case is run successfully.
# Return 1 means the case is run in failure.
# Return 2 means the case is skipped.
exit 0