Compare commits
No commits in common. "ec98c9ce2ef9bfeae2c1b64f3c9dc8eb410bd1bd" and "238feccf3fee145c90f06ec4f0a7e028c444e18f" have entirely different histories.
ec98c9ce2e
...
238feccf3f
8
debian/changelog
vendored
8
debian/changelog
vendored
@ -1,11 +1,3 @@
|
|||||||
snapd-extra-utils (1.0.4) UNRELEASED; urgency=medium
|
|
||||||
|
|
||||||
* [autopkgtest] Use snaps that are available on all arches, to fix armhf,
|
|
||||||
ppc64el, and s390x failures.
|
|
||||||
* [autopkgtest] Refactor the snapd-seed-glue calls for deduplication.
|
|
||||||
|
|
||||||
-- Simon Quigley <tsimonq2@ubuntu.com> Sun, 24 Nov 2024 20:55:54 -0600
|
|
||||||
|
|
||||||
snapd-extra-utils (1.0.3) plucky; urgency=medium
|
snapd-extra-utils (1.0.3) plucky; urgency=medium
|
||||||
|
|
||||||
* In snapd-seed-glue, remove redundant decoding/encoding for account key.
|
* In snapd-seed-glue, remove redundant decoding/encoding for account key.
|
||||||
|
23
debian/tests/snapd-seed-glue
vendored
23
debian/tests/snapd-seed-glue
vendored
@ -14,25 +14,22 @@ confirm_success () {
|
|||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
# Function to run snapd-seed-glue with given arguments
|
echo "Testing snapd-seed-glue with firefox..."
|
||||||
run_snapd_seed_glue () {
|
|
||||||
/usr/bin/snapd-seed-glue --verbose --seed firefox_test "$@" > >(tee -a "$OUTPUT_FILE") 2>&1
|
|
||||||
confirm_success
|
|
||||||
}
|
|
||||||
|
|
||||||
echo "[snapd-seed-glue autopkgtest] Testing snapd-seed-glue with hello..."
|
/usr/bin/snapd-seed-glue --verbose --seed firefox_test firefox > >(tee -a "$OUTPUT_FILE") 2>&1
|
||||||
|
confirm_success
|
||||||
|
|
||||||
run_snapd_seed_glue hello
|
echo "Add krita to the same seed..."
|
||||||
|
|
||||||
echo "[snapd-seed-glue autopkgtest] Add htop to the same seed..."
|
/usr/bin/snapd-seed-glue --verbose --seed firefox_test firefox krita > >(tee -a "$OUTPUT_FILE") 2>&1
|
||||||
|
confirm_success
|
||||||
|
|
||||||
run_snapd_seed_glue hello htop
|
echo "Remove krita and replace it with Thunderbird..."
|
||||||
|
|
||||||
echo "[snapd-seed-glue autopkgtest] Remove htop and replace it with btop..."
|
/usr/bin/snapd-seed-glue --verbose --seed firefox_test firefox thunderbird > >(tee -a "$OUTPUT_FILE") 2>&1
|
||||||
|
confirm_success
|
||||||
|
|
||||||
run_snapd_seed_glue hello btop
|
echo "Confirm that non-existent snaps will fail..."
|
||||||
|
|
||||||
echo "[snapd-seed-glue autopkgtest] Confirm that non-existent snaps will fail..."
|
|
||||||
|
|
||||||
/usr/bin/snapd-seed-glue --verbose --seed test_dir absolutelyridiculouslongnamethatwilldefinitelyneverexist > >(tee -a "$OUTPUT_FILE") 2>&1 || echo "Fail expected"
|
/usr/bin/snapd-seed-glue --verbose --seed test_dir absolutelyridiculouslongnamethatwilldefinitelyneverexist > >(tee -a "$OUTPUT_FILE") 2>&1 || echo "Fail expected"
|
||||||
if ! grep -q "cannot install snap \"absolutelyridiculouslongnamethatwilldefinitelyneverexist\": snap not found" "$OUTPUT_FILE"; then
|
if ! grep -q "cannot install snap \"absolutelyridiculouslongnamethatwilldefinitelyneverexist\": snap not found" "$OUTPUT_FILE"; then
|
||||||
|
Loading…
x
Reference in New Issue
Block a user