Skip to content

Commit

Permalink
snort3_demo: remove alternate daq-dir specification in tests, run_tes…
Browse files Browse the repository at this point in the history
…ts searches for all daq install locations
  • Loading branch information
wtfbbqhax committed Jul 27, 2023
1 parent 4535118 commit 57efff9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion tests/inspectors/stream_file/test.bats
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ CFG="snort.lua"
OPTION="-q -A csv"

@test "Basic stream_file functional test" {
$snort -c $CFG --daq-dir $SNORT_DAQ_LIBS --daq file -r malware.pdf -s 8192 $OPTION > snort.out
$snort -c $CFG --daq file -r malware.pdf -s 8192 $OPTION > snort.out
diff -Bb expected snort.out
}

Expand Down
2 changes: 1 addition & 1 deletion tests/inspectors/stream_user/test.bats
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ CFG="snort.lua"
OPTION="-A csv -q"

@test "Basic stream_user functional test" {
$snort -c $CFG --daq-dir $SNORT_DAQ_LIBS --daq hext -i get.hext $OPTION > snort.out
$snort -c $CFG --daq hext -i get.hext $OPTION > snort.out
diff expected snort.out
}

Expand Down

0 comments on commit 57efff9

Please sign in to comment.