diff options
author | Michael Brown | 2015-08-21 16:41:35 +0200 |
---|---|---|
committer | Michael Brown | 2015-08-21 16:46:28 +0200 |
commit | f58ebbdfb5f48089bb3df088654d5bf735dab2c2 (patch) | |
tree | f8b476c798df160482773c9d6ac68eb8f02c88e4 /src/include/usr | |
parent | [pxe] Warn about PXE NBPs that may be EFI executables (diff) | |
download | ipxe-f58ebbdfb5f48089bb3df088654d5bf735dab2c2.tar.gz ipxe-f58ebbdfb5f48089bb3df088654d5bf735dab2c2.tar.xz ipxe-f58ebbdfb5f48089bb3df088654d5bf735dab2c2.zip |
[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>
Diffstat (limited to 'src/include/usr')
-rw-r--r-- | src/include/usr/autoboot.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/include/usr/autoboot.h b/src/include/usr/autoboot.h index c0603a0a..4db226b9 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 ); |