From f58ebbdfb5f48089bb3df088654d5bf735dab2c2 Mon Sep 17 00:00:00 2001 From: Michael Brown Date: Fri, 21 Aug 2015 15:41:35 +0100 Subject: [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 --- src/include/usr/autoboot.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/include') diff --git a/src/include/usr/autoboot.h b/src/include/usr/autoboot.h index c0603a0a3..4db226b9c 100644 --- a/src/include/usr/autoboot.h +++ b/src/include/usr/autoboot.h @@ -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 ); -- cgit v1.2.3-55-g7522