# Smoketest These tests run `configure`'s pieces on Ubuntu 26.04, which Pop!_OS 26.04 is built on, in throwaway Docker containers. A container has the same apt packages as Pop!_OS, except COSMIC's own, and `/etc/os-release` says Pop!_OS. Each scenario starts with what a login gives: `USER`, `/run/user/`, a session D-Bus in it and an unlocked gnome-keyring, as on Pop!_OS. They check what lint can't: - GNOME Online Accounts 3.50 without GNOME - Ubuntu's restic, rclone, davfs2 and sshfs - mise's apt repository - the sandbox, with real downloads ## Running it ``` smoketest/run --list # scenarios and their tier smoketest/run # the quick scenarios smoketest/run --tier all # everything, including the downloads smoketest/run 40-backup # one scenario (or: smoketest/run 40) smoketest/run --keep 20 # keep the container afterwards, to look around ``` It tests the working copy as it is, including uncommitted changes. The first run builds the image. Each scenario takes a few seconds plus its own apt installs; `50-sandbox` downloads Node.js and srt, and runs with `--privileged` so bubblewrap can make user namespaces. Each run writes its logs to `smoketest/results/