forked from mtusi2026/mtusi2026lab4
lab4
This commit is contained in:
Executable
+23
@@ -0,0 +1,23 @@
|
||||
#!/bin/sh
|
||||
# Run grade-3 attachment student tests (+ drain / compensation dry-run).
|
||||
set -eu
|
||||
DIR=$(CDPATH= cd -- "$(dirname "$0")" && pwd)
|
||||
ROOT=$(CDPATH= cd -- "$DIR/.." && pwd)
|
||||
|
||||
for t in \
|
||||
test_attachment_upload_ok.sh \
|
||||
test_attachment_too_large.sh \
|
||||
test_attachment_corrupted.sh \
|
||||
test_attachment_mime_spoof.sh \
|
||||
test_attachment_foreign.sh \
|
||||
test_attachment_wrong_chat.sh \
|
||||
test_graceful_drain.sh
|
||||
do
|
||||
echo "=== $t ==="
|
||||
sh "$DIR/$t"
|
||||
done
|
||||
|
||||
echo "=== tools/gc_orphans.sh (dry-run) ==="
|
||||
sh "$ROOT/tools/gc_orphans.sh"
|
||||
|
||||
echo "ALL grade3 student-tests PASS"
|
||||
Reference in New Issue
Block a user