test-kernel-install: respect TMPDIR in expected output

This commit is contained in:
Mike Gilbert
2025-11-29 18:30:28 -05:00
committed by Luca Boccassi
parent 2fd63f831f
commit 1a88817b83

View File

@@ -318,7 +318,7 @@ diff -u <(echo "$output") - >&2 <<EOF
"KERNEL_INSTALL_LAYOUT=other",
"KERNEL_INSTALL_INITRD_GENERATOR=none",
"KERNEL_INSTALL_UKI_GENERATOR=",
"KERNEL_INSTALL_STAGING_AREA=/var/tmp/kernel-install.staging.XXXXXX"
"KERNEL_INSTALL_STAGING_AREA=${TMPDIR:-/var/tmp}/kernel-install.staging.XXXXXX"
]
}
EOF