This commit is contained in:
2026-10-30 21:09:56 +03:00
parent ec540a1a72
commit 3223dd469a
87 changed files with 15475 additions and 33 deletions
+23
View File
@@ -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"