diff options
author | Gerald Combs <gerald@wireshark.org> | 2012-03-30 18:19:35 +0000 |
---|---|---|
committer | Gerald Combs <gerald@wireshark.org> | 2012-03-30 18:19:35 +0000 |
commit | 005e724d27a7ad8dbdda44e285f67db5aa316940 (patch) | |
tree | b6a0ff72e11a05be3b20195f359e37b27209e6b9 /test/suite-clopts.sh | |
parent | 3a20e1061552455f5f3ddc32e0f95e82f3df5def (diff) |
Fix the location of dhcp.pcap.
svn path=/trunk/; revision=41857
Diffstat (limited to 'test/suite-clopts.sh')
-rwxr-xr-x | test/suite-clopts.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/suite-clopts.sh b/test/suite-clopts.sh index dc8107a991..88f984db80 100755 --- a/test/suite-clopts.sh +++ b/test/suite-clopts.sh @@ -48,7 +48,7 @@ test_single_char_options() # check exit status when reading an existing file clopts_step_existing_file() { - $TSHARK -r $CAPFILE > ./testout.txt 2>&1 + $TSHARK -r "${CAPTURE_DIR}dhcp.pcap" > ./testout.txt 2>&1 RETURNVALUE=$? if [ ! $RETURNVALUE -eq $EXIT_OK ]; then test_step_failed "exit status: $RETURNVALUE" @@ -182,7 +182,7 @@ clopts_step_valid_name_resolving() { # check exit status of some basic functions clopts_suite_basic() { - test_step_add "Exit status for existing file: \""$CAPFILE"\" must be 0" clopts_step_existing_file + test_step_add "Exit status for existing file: \"""${CAPTURE_DIR}dhcp.pcap""\" must be 0" clopts_step_existing_file test_step_add "Exit status for none existing files must be 2" clopts_step_nonexisting_file } |