Skip to content

Commit

Permalink
Added regression test for #428
Browse files Browse the repository at this point in the history
  • Loading branch information
obilodeau committed Dec 20, 2022
1 parent 6f6f704 commit cb8c69c
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,12 @@ jobs:
pathSource: test/files/test_files.zip
pathTarget: test/files

- name: Extract test file for regression test 428
uses: DuckSoft/extract-7z-action@v1.0
with:
pathSource: test/files/test_convert_428.zip
pathTarget: test/files

- name: Integration Test with a prerecorded PCAP.
working-directory: ./
run: coverage run test/test_prerecorded.py
Expand Down
Binary file added test/files/test_convert_428.zip
Binary file not shown.
11 changes: 11 additions & 0 deletions test/integration.sh
Original file line number Diff line number Diff line change
Expand Up @@ -70,3 +70,14 @@ echo ===================================================
echo Verify that the replay file exists
file -E "20200319000716_192.168.38.1:20989-192.168.38.1:3389.pyrdp"
rm "20200319000716_192.168.38.1:20989-192.168.38.1:3389.pyrdp"

echo ===================================================
echo pyrdp-convert.py regression issue 428
${PREPEND}pyrdp-convert.py test/files/test_convert_428.pyrdp -f mp4
echo

echo ===================================================
echo Verify the MP4 file
file test_convert_428.mp4 | grep "MP4 Base Media"
rm test_convert_428.mp4
echo

0 comments on commit cb8c69c

Please sign in to comment.