mirror of
https://github.com/xcat2/xcat-core.git
synced 2026-11-19 17:02:15 +00:00
test(genesis): cover the UUID that the OpenEmbedded image reports
The OpenEmbedded discovery sends the product_uuid fixture and expects it
unchanged in the findme request.
(cherry picked from commit 092d78a224ee57af834a74ccfb63185f7120a2b7)
(cherry picked from commit 47fc5cf780)
This commit is contained in:
committed by
Daniel Hilst
parent
717d8fa2c0
commit
35bf8eda8a
@@ -190,6 +190,12 @@ not_in_packet()
|
||||
grep -qx STATE=READY "$XCAT_STATUS_DIR/discovery.env"
|
||||
}
|
||||
|
||||
@test "discovery reports the system UUID that the kernel prints" {
|
||||
discover
|
||||
[ "$status" -eq 0 ]
|
||||
in_packet '<uuid>00112233-4455-6677-8899-aabbccddeeff</uuid>'
|
||||
}
|
||||
|
||||
@test "successful discovery does not depend on logging" {
|
||||
XCAT_TEST_LOGGER_FAIL=1 discover
|
||||
[ "$status" -eq 0 ]
|
||||
|
||||
Reference in New Issue
Block a user