Medlar/docs/tests/S039-package-release.md
2026-11-26 03:17:40 -06:00

1.6 KiB

S039 — Package and release: test file

Risk: HIGH = data loss, security, crash, wrong result · MED = feature broken · LOW = looks or comfort.

# Risk Do this Expect Result
1 HIGH tools/package.sh, then sha256sum -c dist/SHA256SUMS-0.1.0 tar.gz, AppImage, sums made; sums match pass
2 HIGH Run the AppImage hidden (tools/hidden.sh, MEDLAR_BIN), yt-dlp and ffmpeg off PATH; skip first run, POST a 300 kB link to port 17616, click Download File done, sha256 equals the server's, no crash pass
3 HIGH Same with the binary from the tar.gz Same pass
4 MED tar.gz with a portable file beside bin/medlar bin/medlar-data/ holds config, data, state, cache pass
5 MED PREFIX=<tmp> ./install.sh, then ./uninstall.sh Files appear, Exec points to the binary, all removed again pass
6 MED Idle CPU 3 s after the download 0 % pass
7 MED AppImage next to a file portable Data in medlar-data/ beside the AppImage not run: only the AppRun logic was written
8 MED Run on an older distribution Starts if glibc >= 2.44; refuses below not run: no older system here
9 LOW Install from the tar.gz on a desktop and open the launcher entry Icon and entry show not run
10 LOW README: every link and file name exists No placeholder pass by reading

Doubts

  • The binary needs glibc 2.44 (libm symbols). Build on an older host to support older distributions.
  • The AppImage was only started directly, not through FUSE mounting or --appimage-extract-and-run.