aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorTom Rini <trini@konsulko.com>2018-01-28 18:26:00 -0500
committerTom Rini <trini@konsulko.com>2018-01-28 18:26:00 -0500
commitbd39d86420434eb8139a111c2582366bc90e65c6 (patch)
tree072fe6ff300a984a8867c9d2506ed7906d435b2d /test
parentf2ee91501892d3280a4c58093ad3a18dccd0b562 (diff)
parent29a8a2828e5c6f3f167a8526a80da992b4626daf (diff)
Merge tag 'signed-efi-next' of git://github.com/agraf/u-boot
Patch queue for efi - 2018-01-28 This is the second part of patches for 2018.03-rc1, fixing a few minor issues and adding a readme file for iSCSI booting.
Diffstat (limited to 'test')
-rw-r--r--test/print_ut.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/test/print_ut.c b/test/print_ut.c
index 1aa68be7a9..d8e9da8fa8 100644
--- a/test/print_ut.c
+++ b/test/print_ut.c
@@ -44,6 +44,10 @@ static void efi_ut_print(void)
snprintf(str, sizeof(str), "_%pD_", buf);
assert(!strcmp("_/SD(3)_", str));
+
+ /* NULL device path */
+ snprintf(str, sizeof(str), "_%pD_", NULL);
+ assert(!strcmp("_<NULL>_", str));
#endif
}