From 89f3624b748b5ee751edca340f16204807e15d4b Mon Sep 17 00:00:00 2001 From: Piotr Krysik Date: Fri, 15 Jul 2016 14:58:09 +0200 Subject: Updated test to make it more reliable --- tests/fixtures/grgsm_decode_test1_expected | 6 ------ tests/scripts/decode.sh | 2 +- 2 files changed, 1 insertion(+), 7 deletions(-) (limited to 'tests') 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=$? -- cgit v1.2.3