@@ -97,12 +97,12 @@ jobs:
97
97
run : sudo apt-get -qq install -y wget
98
98
- name : Run Taint Tests
99
99
if : matrix.test_type == 'taint'
100
- run : >-
101
- wget -q -O wheezy_panda2.qcow2 https://panda-re.mit.edu/qcows/linux/debian/7.3/x86/debian_7.3_x86.qcow;
102
- wget -q https://panda-re.mit.edu/qcows/linux/ubuntu/1804/x86_64/bionic-server-cloudimg-amd64-noaslr-nokaslr.qcow2;
100
+ run : |
101
+ pip3 install pandare
102
+ python3 -c "from pandare.qcows_internal import Qcows;Qcows.get_qcow('i386')"
103
+ python3 -c "from pandare.qcows_internal import Qcows;Qcows.get_qcow('x86_64')"
103
104
docker run --name panda_test_${{ matrix.target }}_${GITHUB_RUN_ID}
104
- --mount type=bind,source=$(pwd)/wheezy_panda2.qcow2,target=/home/panda/regdir/qcows/wheezy_panda2.qcow2
105
- --mount type=bind,source=$(pwd)/bionic-server-cloudimg-amd64-noaslr-nokaslr.qcow2,target=/home/panda/regdir/qcows/bionic-server-cloudimg-amd64-noaslr-nokaslr.qcow2
105
+ --mount type=bind,source=$HOME/.panda,target=$HOME/.panda
106
106
--rm -t "ghcr.io/${{ github.repository_owner }}/panda_local:${{ github.sha }}" bash -c
107
107
"cd /tmp; git clone https://github.com/panda-re/panda_test;
108
108
cd ./panda_test/tests/taint2;
@@ -117,10 +117,11 @@ jobs:
117
117
118
118
- name : Run PyPanda Tests
119
119
if : matrix.test_type == 'pypanda'
120
- run : >-
121
- wget -q https://panda-re.mit.edu/qcows/linux/ubuntu/1604/x86/ubuntu_1604_x86.qcow;
120
+ run : |
121
+ pip3 install pandare
122
+ python3 -c "from pandare.qcows_internal import Qcows;Qcows.get_qcow('i386')"
122
123
docker run --name panda_test_${{ matrix.test_script }}_${GITHUB_RUN_ID}
123
- --mount type=bind,source=$(pwd)/ubuntu_1604_x86.qcow ,target=/root/ .panda/ubuntu_1604_x86.qcow
124
+ --mount type=bind,source=$HOME/.panda ,target=$HOME/ .panda
124
125
-e PANDA_TEST=yes --cap-add SYS_NICE
125
126
--rm -t "ghcr.io/${{ github.repository_owner }}/panda_local:${{ github.sha }}" bash -c
126
127
"cd /panda/panda/python/tests/ && make && pip3 install -r requirements.txt && chmod +x ./run_all_tests.sh && ./run_all_tests.sh";
0 commit comments