aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rwxr-xr-xtests/compatibility_test.sh3
-rwxr-xr-xtests/roundtrip_test.sh3
2 files changed, 6 insertions, 0 deletions
diff --git a/tests/compatibility_test.sh b/tests/compatibility_test.sh
index 5040bd4..a3135aa 100755
--- a/tests/compatibility_test.sh
+++ b/tests/compatibility_test.sh
@@ -19,5 +19,8 @@ for file in $INPUTS; do
expected=${file%.compressed}
$BRO -f -d -i $file -o $uncompressed
diff -q $uncompressed $expected
+ # Test the streaming version
+ cat $file | $BRO -d > $uncompressed
+ diff -q $uncompressed $expected
done
diff --git a/tests/roundtrip_test.sh b/tests/roundtrip_test.sh
index 3edb054..3dd284b 100755
--- a/tests/roundtrip_test.sh
+++ b/tests/roundtrip_test.sh
@@ -23,4 +23,7 @@ for file in $INPUTS; do
$BRO -f -i $file -o $compressed
$BRO -f -d -i $compressed -o $uncompressed
diff -q $file $uncompressed
+ # Test the streaming version
+ cat $file | $BRO | $BRO -d >$uncompressed
+ diff -q $file $uncompressed
done