rustypaste/fixtures/test-list-files-not-exposed/test.sh

15 lines
184 B
Bash
Executable File

#!/usr/bin/env bash
setup() {
:;
}
run_test() {
result=$(curl -s --write-out "%{http_code}" http://localhost:8000/list)
test "404" = "$result"
}
teardown() {
rm -r upload
}