summaryrefslogtreecommitdiff
path: root/doc/articles
diff options
context:
space:
mode:
authorShenghou Ma <minux.ma@gmail.com>2012-12-24 03:48:17 +0800
committerShenghou Ma <minux.ma@gmail.com>2012-12-24 03:48:17 +0800
commit7361fcd159c7ec0207c2ef7014459fc5a6758f36 (patch)
tree59c7a120364e16af62ea68caf3a53fc6fac50dd9 /doc/articles
parent8744389de8c793dd3bf4ce07e6c8c4fd8ceb71eb (diff)
downloadgo-7361fcd159c7ec0207c2ef7014459fc5a6758f36.tar.gz
doc/articles/wiki/test.bash: suppress unnecessary output
R=golang-dev, rsc CC=golang-dev https://codereview.appspot.com/7000045
Diffstat (limited to 'doc/articles')
-rwxr-xr-xdoc/articles/wiki/test.bash3
1 files changed, 2 insertions, 1 deletions
diff --git a/doc/articles/wiki/test.bash b/doc/articles/wiki/test.bash
index 8bd8580f0..02ed1894a 100755
--- a/doc/articles/wiki/test.bash
+++ b/doc/articles/wiki/test.bash
@@ -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