aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorAlexis La Goutte <alexis.lagoutte@gmail.com>2014-12-24 10:25:32 +0100
committerAnders Broman <a.broman58@gmail.com>2014-12-24 17:39:49 +0000
commit04a1f332b175f7e9858cb5df06b7518a0f873975 (patch)
tree8e0e314c74f2ca64d60dceca796625f080ee871a /test
parentbfa9ddfa6cf333e1bb7b3410b0a78a8e6f42f1ca (diff)
test suite: (Minor) fix some double space
Change-Id: I7fe7cd7ed471b8fcd2afd5fb4bbc180b580295b3 Reviewed-on: https://code.wireshark.org/review/6031 Reviewed-by: Anders Broman <a.broman58@gmail.com>
Diffstat (limited to 'test')
-rwxr-xr-xtest/suite-clopts.sh6
-rwxr-xr-xtest/suite-decryption.sh2
2 files changed, 4 insertions, 4 deletions
diff --git a/test/suite-clopts.sh b/test/suite-clopts.sh
index ee1b9c4e9d..4f9a7f9e7c 100755
--- a/test/suite-clopts.sh
+++ b/test/suite-clopts.sh
@@ -33,7 +33,7 @@ EXIT_ERROR=2
test_single_char_options()
{
#echo "command: "$1" opt1: "$2" opt2: "$3" opt3: "$4" opt4: "$5" opt5: "$6
- $1 -$2 > ./testout.txt 2>&1
+ $1 -$2 > ./testout.txt 2>&1
RETURNVALUE=$?
if [ ! $RETURNVALUE -eq $3 ]; then
test_step_failed "exit status: $RETURNVALUE"
@@ -158,14 +158,14 @@ clopts_step_existing_file() {
# check exit status when reading a non-existing file
clopts_step_nonexisting_file() {
- $TSHARK -r ThisFileDontExist.pcap > ./testout.txt 2>&1
+ $TSHARK -r ThisFileDontExist.pcap > ./testout.txt 2>&1
RETURNVALUE=$?
if [ ! $RETURNVALUE -eq $EXIT_ERROR ]; then
test_step_failed "exit status: $RETURNVALUE"
else
test_step_ok
fi
- rm ./testout.txt
+ rm ./testout.txt
}
diff --git a/test/suite-decryption.sh b/test/suite-decryption.sh
index 74a419f111..d20606b6fc 100755
--- a/test/suite-decryption.sh
+++ b/test/suite-decryption.sh
@@ -143,7 +143,7 @@ decryption_step_c1222() {
-o "c1222.baseoid:2.16.124.113620.1.22.0" \
-r "$CAPTURE_DIR/c1222_std_example8.pcap" \
-Tfields -e c1222.data \
- | grep "00:10:4d:41:4e:55:46:41:43:54:55:52:45:52:20:53:4e:20:92" > /dev/null 2>&1
+ | grep "00:10:4d:41:4e:55:46:41:43:54:55:52:45:52:20:53:4e:20:92" > /dev/null 2>&1
RETURNVALUE=$?
if [ ! $RETURNVALUE -eq $EXIT_OK ]; then
test_step_failed "Failed to decrypt C12.22 $RETURNVALUE"