**This is an old revision of the document!** ----
July 13: Didn't work much today. Just a little cleaning up of the the return code. Now, control flow statements like if, else, while, etc. do not modify the rc variable. * [[http://git.etherboot.org/?p=people/lynusvaz/gpxe.git;a=commit;h=3f2c5a501a622b271f5cf0db9cb7fb9f495b37ac|if, else, etc. do not affect rc]] July 19: Added comments. I've started a new branch, 'scripting_test' for integration into gPXE. Pushed the quoting changes to this branch, as a first commit. Hopefully it will stand up to the scrutiny. Also made a bash script to automate testing of the scripting features. The steps are: * Pick up each .gpxe file in turn from the src/tests/ directory * Boot gPXE in qemu and pass the script using the -bootp switch * Capture the output in a temporary file * Kill qemu after a timeout * Remove the beginning lines of the file, upto 'Booting from filename...' * Compare this to a pre-made output file Qemu is run as: qemu -tftp . -cdrom bin/gpxe.iso -bootp tftp://10.0.0.2//$GSCRIPT -serial stdio > test_out 2>/dev/null & Today's commits: * [[http://git.etherboot.org/?p=people/lynusvaz/gpxe.git;a=commit;h=e01f237ef8b6786c1cbcfcc12e846aeec3189bcc|Added quoting]] * [[http://git.etherboot.org/?p=people/lynusvaz/gpxe.git;a=commit;h=e34825284cd3e8c620bf687d160d26570c4b1197|Automatic testing of gPXE scripts]]