Skip to content

fix tests

fix tests #8

Workflow file for this run

name: test pwnshop
on: push
jobs:
test:
runs-on: ubuntu-latest
timeout-minutes: 23
steps:
- uses: actions/checkout@v3
- name: info
run: |
ls -alR
git show
- name: install
run: |
sudo apt-get update
sudo apt-get install -y python3-pip build-essential libcapstone-dev
python -m pip install --upgrade pip
pip install pytest pytest-dependency
pip install .
- name: test
run: |
echo "pwncollege{TESTING}" | sudo tee /flag
cd ..
pwnshop -I pwnshop/example_module -c ShellExample --src
pwnshop -I pwnshop/example_module -c ShellExample --bin > /tmp/shell_example
file /tmp/shell_example | grep ELF
pwnshop -I pwnshop/example_module -c ShellExample --verify