[med-svn] [Git][med-team/fsm-lite][master] 2 commits: Added checksum based test

Andreas Tille (@tille) gitlab at salsa.debian.org
Tue Dec 21 14:37:09 GMT 2021



Andreas Tille pushed to branch master at Debian Med / fsm-lite


Commits:
47fd07a6 by Lance Lin at 2021-12-21T19:54:14+07:00
Added checksum based test

- - - - -
df266dc3 by Lance Lin at 2021-12-21T20:12:35+07:00
fixed md5sum

- - - - -


1 changed file:

- debian/tests/run-unit-test


Changes:

=====================================
debian/tests/run-unit-test
=====================================
@@ -59,10 +59,16 @@ cat <<EOF > input.list
 testfile ${AUTOPKGTEST_TMP}/testfile.fasta
 EOF
 
+echo "run-unit-test: generating md5 sums for verification"
+echo "001b2030f247b79c4339a3a4d4b3438c  tmp.meta" >> checksums
+echo "19f8e2431c735a5f86e60251a80b37f4  tmp.tmp" >> checksums
 
 echo "run-unit-test: running fsm-lite"
 fsm-lite -l input.list -t tmp | gzip - > output.txt.gz
 
+echo "run-unit-test: verifying md5 checksums"
+md5sum --check checksums
+
 echo "run-unit-test: verifying output"
 
 # Output in tmp.meta should contain "1508", the file size/output of tmp.tmp in bytes



View it on GitLab: https://salsa.debian.org/med-team/fsm-lite/-/compare/e959cdd8e6badb857b74238e8023d3f1c307dce2...df266dc37d0c3f84bebd4df216cbf40f2f3cf4db

-- 
View it on GitLab: https://salsa.debian.org/med-team/fsm-lite/-/compare/e959cdd8e6badb857b74238e8023d3f1c307dce2...df266dc37d0c3f84bebd4df216cbf40f2f3cf4db
You're receiving this email because of your account on salsa.debian.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/debian-med-commit/attachments/20211221/643889cd/attachment.htm>


More information about the debian-med-commit mailing list