[SCM] Installer for game data files branch, master, updated. efd46d96e303f4a3f010a93ae2ee1d6c68315639
Jon Dowland
jmtd at debian.org
Tue Sep 11 21:08:27 UTC 2012
The following commit has been merged in the master branch:
commit 71169e981c68c202c4e1e6021015dab4e0085bd9
Author: Jon Dowland <jmtd at debian.org>
Date: Tue Dec 15 16:13:26 2009 +0000
condense test
diff --git a/tests/verify_md5sum b/tests/verify_md5sum
index 90e573b..9a01e93 100755
--- a/tests/verify_md5sum
+++ b/tests/verify_md5sum
@@ -8,12 +8,9 @@ incorrect="wrong"
workdir=$(mktemp -td game-data-packager.tests.XXXXXX)
echo hello world > "$workdir/testfile"
-if ./tests/lib/verify_md5sum "$workdir/testfile" "$correct"; then
- echo pass
-else
- echo fail
-fi
-if ! ./tests/lib/verify_md5sum "$workdir/testfile" "$incorrect"; then
+printf "verify_md5sum: "
+if ./tests/lib/verify_md5sum "$workdir/testfile" "$correct" &&
+ ! ./tests/lib/verify_md5sum "$workdir/testfile" "$incorrect"; then
echo pass
else
echo fail
--
Installer for game data files
More information about the Pkg-games-commits
mailing list