mirror of
https://github.com/ipxe/ipxe
synced 2025-12-13 07:20:47 +03:00
[test] Allow self-tests to report exit status when running under Linux
Allow the return status from an embedded image to propagate out to the eventual return status from main(). When running under Linux, this allows the pass/fail result of unit tests to be observable without having to visually inspect the console output. Signed-off-by: Michael Brown <mcb30@ipxe.org>
This commit is contained in:
@@ -35,7 +35,7 @@ extern int uriboot ( struct uri *filename, struct uri *root_path, int drive,
|
||||
extern struct uri *
|
||||
fetch_next_server_and_filename ( struct settings *settings );
|
||||
extern int netboot ( struct net_device *netdev );
|
||||
extern void ipxe ( struct net_device *netdev );
|
||||
extern int ipxe ( struct net_device *netdev );
|
||||
|
||||
extern int pxe_menu_boot ( struct net_device *netdev );
|
||||
|
||||
|
||||
Reference in New Issue
Block a user