Solaris diff doesn't know about -d (a.k.a. --minimal).
Change-Id: I86146b4b93e3d0bdea52a0fde59afca20b5bab51
Reviewed-on: https://go-review.googlesource.com/117335
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
Run-TryBot: Brad Fitzpatrick <bradfitz@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
if err := ioutil.WriteFile(htmlHTML, out.Bytes(), 0644); err != nil {
t.Fatal(err)
}
- // diff -ud testdata/html/html.html testdata/html/html.golden
- cmd = exec.Command("diff", "-udw", htmlHTML, htmlGolden)
+ // diff -uw testdata/html/html.html testdata/html/html.golden
+ cmd = exec.Command("diff", "-u", "-w", htmlHTML, htmlGolden)
run(cmd, t)
}