Start a test HTTP server in Travis.

parent 98748587
......@@ -14,6 +14,9 @@ addons:
- python3
- gcc-multilib
before_script:
- cd http && python3 -m http.server 8080 &
script:
- make
- qemu-system-i386 -hda build/boot_asmg.x86 -serial stdio -device isa-debug-exit -display none -m 256M | ./test/decode_tests.py
......
......@@ -326,7 +326,7 @@ int main(int argc, char *argv[]) {
coro_t *coro_ipxe = coro_init(main_symb, &ih);
coro_enter(coro_ipxe);
const char *url = "http://www.example.com/";
const char *url = "http://10.0.2.2:8080/continue.c";
printf("Request to download %s\n", url);
push_to_ipxe(strdup("download"));
push_to_ipxe(strdup(url));
......
int main() {
return 0;
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment