Codebase list davtest / master
Add test Daniel Ruiz de Alegría 10 months ago
2 changed file(s) with 17 addition(s) and 0 deletion(s). Raw diff Collapse all Expand all
0 Tests: runtests.sh
1 Depends: python3-wsgidav, libcrypt-ssleay-perl, @
0 #!/bin/sh
1
2 set -e
3
4 rm -f /tmp/pwn
5
6 wsgidav --host=0.0.0.0 --port=8080 --auth=anonymous --root /tmp &
7 sleep 5
8
9 davtest -url http://127.0.0.1:8080
10 davtest -url http://127.0.0.1:8080 -uploadfile=/etc/passwd -uploadloc=pwn
11
12 pkill wsgidav
13
14 test -f /tmp/pwn