This commit is contained in:
David Schroeder
2026-07-26 01:20:41 -05:00
parent aa0e74ae8c
commit 53a6e91218
3 changed files with 7 additions and 2 deletions
+5
View File
@@ -5,6 +5,11 @@ TEST_ROOT="$(cd "$(dirname "${BASH_SOURCE[0]}")/.." && pwd)"
source "${TEST_ROOT}/tests/testlib.sh"
source "${TEST_ROOT}/inc/post-install.inc"
assert_equal 9 \
"$(printf '%s\n' 'pve-manager/9.0.3/0255bb4e9600f70c (running kernel: 6.14.8-2-pve)' |
sed -n 's/.*pve-manager\/\([0-9][0-9]*\).*/\1/p')" \
"Proxmox major version extraction"
POST_TEST_ROOT="$(mktemp -d /tmp/tapm-post-install.XXXXXX)"
TAPM_HOST_ROOT="$POST_TEST_ROOT"