diff options
author | Piotr Krysik <ptrkrysik@gmail.com> | 2016-07-15 14:58:09 +0200 |
---|---|---|
committer | Piotr Krysik <ptrkrysik@gmail.com> | 2016-07-15 14:58:09 +0200 |
commit | 89f3624b748b5ee751edca340f16204807e15d4b (patch) | |
tree | 43f7e1f22823e3b7017f62aacf792043714c5d44 | |
parent | 55ea0d33f210d826800201c6f73784caf58b84e8 (diff) |
Updated test to make it more reliable
-rw-r--r-- | tests/fixtures/grgsm_decode_test1_expected | 6 | ||||
-rwxr-xr-x | tests/scripts/decode.sh | 2 |
2 files changed, 1 insertions, 7 deletions
diff --git a/tests/fixtures/grgsm_decode_test1_expected b/tests/fixtures/grgsm_decode_test1_expected index 1ce6f36..ce19917 100644 --- a/tests/fixtures/grgsm_decode_test1_expected +++ b/tests/fixtures/grgsm_decode_test1_expected @@ -1,9 +1,3 @@ -860902 1329872: 15 06 21 00 01 f0 8b 2b 2b 2b 2b 2b 2b 2b 2b 2b 2b 2b 2b 2b 2b 2b 2b -860906 1330004: 15 06 21 00 01 f0 8b 2b 2b 2b 2b 2b 2b 2b 2b 2b 2b 2b 2b 2b 2b 2b 2b -860912 1330176: 15 06 21 00 01 f0 8b 2b 2b 2b 2b 2b 2b 2b 2b 2b 2b 2b 2b 2b 2b 2b 2b -860916 1330308: 15 06 21 00 01 f0 8b 2b 2b 2b 2b 2b 2b 2b 2b 2b 2b 2b 2b 2b 2b 2b 2b -860922 1330506: 15 06 21 00 01 f0 8b 2b 2b 2b 2b 2b 2b 2b 2b 2b 2b 2b 2b 2b 2b 2b 2b -860926 1330638: 15 06 21 00 01 f0 8b 2b 2b 2b 2b 2b 2b 2b 2b 2b 2b 2b 2b 2b 2b 2b 2b 860933 1329237: 59 06 1a 8f 6d 18 10 80 00 00 00 00 00 00 00 00 00 00 00 78 b9 00 00 860937 1329369: 05 06 20 8b 2b 2b 2b 2b 2b 2b 2b 2b 2b 2b 2b 2b 2b 2b 2b 2b 2b 2b 2b 860943 1329541: 15 06 21 00 01 f0 8b 2b 2b 2b 2b 2b 2b 2b 2b 2b 2b 2b 2b 2b 2b 2b 2b diff --git a/tests/scripts/decode.sh b/tests/scripts/decode.sh index 014a5d3..be5a9c3 100755 --- a/tests/scripts/decode.sh +++ b/tests/scripts/decode.sh @@ -15,7 +15,7 @@ gnuradio-companion --version cd $TEST_DIR cat $CAPFILE | head -c 6000000 > $SHORTENED_CAPFILE -$RUNLINE | tail -n +4 | tee $RESULT_OBTAINED +$RUNLINE | grep -A 999999 "860933 1329237: 59 06 1a 8f 6d 18 10 80 00 00 00 00 00 00 00 00 00 00 00 78 b9 00 00" | tee $RESULT_OBTAINED diff $RESULT_EXPECTED $RESULT_OBTAINED TEST_RESULT=$? |