[Chinese-commits] [fortune-zh] 03/03: tests: update test script

Zhou Mo cdluminate-guest at moszumanska.debian.org
Thu Dec 8 03:56:52 UTC 2016


This is an automated email from the git hooks/post-receive script.

cdluminate-guest pushed a commit to branch master
in repository fortune-zh.

commit b4e1d4fb32af7c5230fd6cf3ffd3040cb2b0219e
Author: Zhou Mo <cdluminate at gmail.com>
Date:   Thu Dec 8 03:56:31 2016 +0000

    tests: update test script
---
 debian/tests/simply.run | 12 +++++++-----
 1 file changed, 7 insertions(+), 5 deletions(-)

diff --git a/debian/tests/simply.run b/debian/tests/simply.run
index 40a8d42..1973581 100755
--- a/debian/tests/simply.run
+++ b/debian/tests/simply.run
@@ -1,13 +1,15 @@
 #!/bin/sh
 set -e
 
-# simple run fortune-zh. Script fortune-zh should be ok if it passes this.
-fortune-zh
-
-# let's see if the three cookies shipped in this package works as expected.
+# let's see if the three cookies shipped in this package work as expected.
 fortune chinese
 fortune tang300
 fortune song100
 
-# Now I guess this package is ok.
+# simply run fortune-zh for several times to see whether it's working.
+for i in $(seq 10); do
+  fortune-zh
+done
+
+# Package is ok.
 exit 0

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/chinese/fortune-zh.git



More information about the Chinese-commits mailing list