]> Cypherpunks repositories - gostls13.git/commitdiff
doc/articles/wiki/test.bash: suppress unnecessary output
authorShenghou Ma <minux.ma@gmail.com>
Sun, 23 Dec 2012 19:48:17 +0000 (03:48 +0800)
committerShenghou Ma <minux.ma@gmail.com>
Sun, 23 Dec 2012 19:48:17 +0000 (03:48 +0800)
R=golang-dev, rsc
CC=golang-dev
https://golang.org/cl/7000045

doc/articles/wiki/test.bash

index 8bd8580f02817e08c837e1f49d1631f2dbb61cf8..02ed1894a529caa5ad233bbc015ff4ece5464da8 100755 (executable)
@@ -20,7 +20,8 @@ wiki_pid=$!
 
 ./get.bin --wait_for_port=5s http://$addr/edit/Test > test_edit.out
 diff -u test_edit.out test_edit.good
-./get.bin -post=body=some%20content http://$addr/save/Test
+./get.bin -post=body=some%20content http://$addr/save/Test > test_save.out
+diff -u test_save.out test_view.good # should be the same as viewing
 diff -u Test.txt test_Test.txt.good
 ./get.bin http://$addr/view/Test > test_view.out
 diff -u test_view.out test_view.good