summaryrefslogtreecommitdiff
path: root/testing/T2.sh
blob: d0a51a8c157b36bbcdd947eb0cfc3668268d51b7 (plain)
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