File: T2.sh

package info (click to toggle)
net-snmp 5.2.3-7etch4
  • links: PTS
  • area: main
  • in suites: etch
  • size: 24,452 kB
  • ctags: 16,045
  • sloc: ansic: 175,930; perl: 11,814; sh: 11,230; makefile: 5,375; pascal: 62
file content (32 lines) | stat: -rw-r--r-- 544 bytes parent folder | download | duplicates (9)
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
#!/bin/sh
#
# T.sh
#
# FIX  Short description.
#

. eval_tools.sh

HEADER a short description of your test

#------------------------------------ -o- 
# Test.
#

# Start the agent if needed (make sure it stop it below)
STARTAGENT

CAPTURE "<executable_with_arguments:_stores_stdout/stderr_for_use_later>"

CHECKEXACT "<string_to_look_for_an_exact_match_of_in_the_CAPTUREd_file_output>"
[ $? -eq 1 ]
FAILED $? "<diagnostic_label>"

#------------------------------------ -o- 
# Cleanup, exit.
#

# Stop the agent if necessary
STOPAGENT

FINISHED