Skip to content

Commit

Permalink
fixup! tests: properly build snapd snap
Browse files Browse the repository at this point in the history
  • Loading branch information
valentindavid committed Jun 4, 2024
1 parent acb5f12 commit bd87468
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/lib/prepare.sh
Original file line number Diff line number Diff line change
Expand Up @@ -484,7 +484,7 @@ build_snapd_snap() {
local snapd_snap_cache
TARGET="${1}"

snapd_snap_cache="${NESTED_WORK_DIR:-/tmp/work-dir}/snapd_snap"
snapd_snap_cache="${WORK_DIR:-/tmp/work-dir}/snapd_snap"
mkdir -p "${snapd_snap_cache}"
for snap in "${snapd_snap_cache}"/snapd_*.snap; do
if ! [ -f "${snap}" ]; then
Expand All @@ -508,7 +508,7 @@ build_snapd_snap_with_run_mode_firstboot_tweaks() {

TARGET="${1}"

snapd_snap_cache="${NESTED_WORK_DIR:-/tmp/work-dir}/snapd_snap_with_tweaks"
snapd_snap_cache="${WORK_DIR:-/tmp/work-dir}/snapd_snap_with_tweaks"
mkdir -p "${snapd_snap_cache}"
for snap in "${snapd_snap_cache}"/snapd_*.snap; do
if [ -f "${snap}" ]; then
Expand Down

0 comments on commit bd87468

Please sign in to comment.