]> git.dujemihanovic.xyz Git - u-boot.git/commit
test: bdinfo: Handle systems without getopt
authorMarek Vasut <marek.vasut+renesas@mailbox.org>
Sun, 10 Dec 2023 15:01:56 +0000 (16:01 +0100)
committerTom Rini <trini@konsulko.com>
Sun, 10 Dec 2023 15:08:30 +0000 (10:08 -0500)
commitbe4a5f7c35685d228b3abc398a8d86c434274de5
tree87305302e7e627db675c2feb61bf42fd6677c5a0
parent3a2b6ba5cf1ad46e3684ee0c4175b3ea8d7c1280
test: bdinfo: Handle systems without getopt

Systems without getopt support fall back to plain full bdinfo print,
handle such a case, which occurs e.g. with sandbox_flattree_defconfig .

Fixes: 8827a3871452 ("test: bdinfo: Test bdinfo -h")
Fixes: 2696f3ab8101 ("test: bdinfo: Test bdinfo -m")
Fixes: 3ff2d796a6f2 ("test: bdinfo: Test bdinfo -e")
Signed-off-by: Marek Vasut <marek.vasut+renesas@mailbox.org>
test/cmd/bdinfo.c