Skip to content

Commit a02ea07

Browse files
committed
Fix tests
1 parent b07c59c commit a02ea07

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

pixiecore/http_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ initrd --name initrd0 http://localhost:1234/_/file?name=i1-01%3A02%3A03%3A04%3A0
7474
initrd --name initrd1 http://localhost:1234/_/file?name=i2-01%3A02%3A03%3A04%3A05%3A06-0&type=initrd&mac=01%3A02%3A03%3A04%3A05%3A06
7575
imgfetch --name ready http://localhost:1234/_/booting?mac=01%3A02%3A03%3A04%3A05%3A06 ||
7676
imgfree ready ||
77-
boot kernel initrd=initrd0 initrd=initrd1 console=ttyS0,115200n8 thing=http://localhost:1234/_/file?name=f-01%3A02%3A03%3A04%3A05%3A06-0 foo=bar
77+
boot kernel initrd=initrd0 initrd=initrd1 thing=http://localhost:1234/_/file?name=f-01%3A02%3A03%3A04%3A05%3A06-0 foo=bar
7878
`
7979
if rr.Body.String() != expected {
8080
t.Fatalf("Wrong iPXE script\nwant: %s\ngot: %s", expected, rr.Body.String())
@@ -102,7 +102,7 @@ initrd --name initrd0 http://localhost:1234/_/file?name=i1-fe%3Afe%3Afe%3Afe%3Af
102102
initrd --name initrd1 http://localhost:1234/_/file?name=i2-fe%3Afe%3Afe%3Afe%3Afe%3Afe-1&type=initrd&mac=fe%3Afe%3Afe%3Afe%3Afe%3Afe
103103
imgfetch --name ready http://localhost:1234/_/booting?mac=fe%3Afe%3Afe%3Afe%3Afe%3Afe ||
104104
imgfree ready ||
105-
boot kernel initrd=initrd0 initrd=initrd1 console=ttyS0,115200n8 thing=http://localhost:1234/_/file?name=f-fe%3Afe%3Afe%3Afe%3Afe%3Afe-1 foo=bar
105+
boot kernel initrd=initrd0 initrd=initrd1 thing=http://localhost:1234/_/file?name=f-fe%3Afe%3Afe%3Afe%3Afe%3Afe-1 foo=bar
106106
`
107107
if rr.Body.String() != expected {
108108
t.Fatalf("Wrong iPXE script\nwant: %s\ngot: %s", expected, rr.Body.String())

0 commit comments

Comments
 (0)