[med-svn] [Git][med-team/king-probe][master] Replace reference files with their hashes
Pranav Ballaney
gitlab at salsa.debian.org
Mon Jul 27 18:52:34 BST 2020
Pranav Ballaney pushed to branch master at Debian Med / king-probe
Commits:
d8b145dc by Pranav Ballaney at 2020-07-27T23:22:04+05:30
Replace reference files with their hashes
- - - - -
10 changed files:
- debian/README.test
- debian/copyright
- debian/examples
- − debian/tests/ref/6ins.dotinfo.table.gz
- − debian/tests/ref/6ins.kin.gz
- − debian/tests/ref/6ins.rawinfo.table.gz
- − debian/tests/ref/6ins.surfacedots.kin.gz
- − debian/tests/ref/6insEF.kin.gz
- − debian/tests/ref/6ins_1zni.kin.gz
- debian/tests/run-unit-test
Changes:
=====================================
debian/README.test
=====================================
@@ -16,7 +16,3 @@ Source: https://www.rcsb.org/structure/6INS
Files: debian/tests/data/1zni.pdb1.gz
Source: https://www.rcsb.org/structure/1ZNI
-Files: debian/tests/ref/*
-These files were produced by running the data files
- listed above through king-probe as described in
- run-unit-test.
=====================================
debian/copyright
=====================================
@@ -16,13 +16,6 @@ Source: https://www.rcsb.org/structure/6INS
Files: debian/tests/data/1zni.pdb1.gz
Source: https://www.rcsb.org/structure/1ZNI
-Files: debian/tests/ref/*
-Copyright: 2020 Pranav Ballaney <ballaneypranav at gmail.com>
-License: probe
-Comment: These files were produced by running the data files
- listed above through king-probe as described in
- debian/tests/run-unit-test
-
License: probe
This is free software and the source code is freely
available. You are free to redistribute or modify under the
=====================================
debian/examples
=====================================
@@ -1,2 +1 @@
-debian/tests/data
-debian/tests/ref
\ No newline at end of file
+debian/tests/data
\ No newline at end of file
=====================================
debian/tests/ref/6ins.dotinfo.table.gz deleted
=====================================
Binary files a/debian/tests/ref/6ins.dotinfo.table.gz and /dev/null differ
=====================================
debian/tests/ref/6ins.kin.gz deleted
=====================================
Binary files a/debian/tests/ref/6ins.kin.gz and /dev/null differ
=====================================
debian/tests/ref/6ins.rawinfo.table.gz deleted
=====================================
Binary files a/debian/tests/ref/6ins.rawinfo.table.gz and /dev/null differ
=====================================
debian/tests/ref/6ins.surfacedots.kin.gz deleted
=====================================
Binary files a/debian/tests/ref/6ins.surfacedots.kin.gz and /dev/null differ
=====================================
debian/tests/ref/6insEF.kin.gz deleted
=====================================
Binary files a/debian/tests/ref/6insEF.kin.gz and /dev/null differ
=====================================
debian/tests/ref/6ins_1zni.kin.gz deleted
=====================================
Binary files a/debian/tests/ref/6ins_1zni.kin.gz and /dev/null differ
=====================================
debian/tests/run-unit-test
=====================================
@@ -17,54 +17,52 @@ cp -a /usr/share/doc/${pkg}/examples/* "${AUTOPKGTEST_TMP}"
cd "${AUTOPKGTEST_TMP}"
gunzip -r *
-ls -R
cd data
-#do_stuff_to_test_package#
+
echo -e "\e[93m\e[1mTest 1\e[0m"
king-probe 6ins.pdb1 >> 6ins.kin
tail +2 6ins.kin > 6ins.kin.head
-tail +2 ../ref/6ins.kin > ../ref/6ins.kin.head
-diff 6ins.kin.head ../ref/6ins.kin.head
+echo "2e8e38fca908f21e53f47bd3a9411219 6ins.kin.head" > checksum
+md5sum --check checksum
echo -e "\e[92m\e[1mPassed\e[0m"
echo
echo -e "\e[93m\e[1mTest 2\e[0m"
king-probe -count -self all 6ins.pdb1 > 6ins.dotinfo.table
tail +2 6ins.dotinfo.table > 6ins.dotinfo.table.head
-tail +2 ../ref/6ins.dotinfo.table > ../ref/6ins.dotinfo.table.head
-diff 6ins.dotinfo.table.head ../ref/6ins.dotinfo.table.head
+echo "23e6de91706f44a691ab0571ea50bcbb 6ins.dotinfo.table.head" > checksum
+md5sum --check checksum
echo -e "\e[92m\e[1mPassed\e[0m"
echo
echo -e "\e[93m\e[1mTest 3\e[0m"
king-probe -unformated -self "all" 6ins.pdb1 > 6ins.rawinfo.table
tail +2 6ins.rawinfo.table > 6ins.rawinfo.table.head
-tail +2 ../ref/6ins.rawinfo.table > ../ref/6ins.rawinfo.table.head
-diff 6ins.rawinfo.table.head ../ref/6ins.rawinfo.table.head
+echo "2a063119f359eb3ac5728788b372c8db 6ins.rawinfo.table.head" > checksum
+md5sum --check checksum
echo -e "\e[92m\e[1mPassed\e[0m"
echo
echo -e "\e[93m\e[1mTest 4\e[0m"
king-probe -out all 6ins.pdb1 >> 6ins.surfacedots.kin
tail +2 6ins.surfacedots.kin > 6ins.surfacedots.kin.head
-tail +2 ../ref/6ins.surfacedots.kin > ../ref/6ins.surfacedots.kin.head
-diff 6ins.surfacedots.kin.head ../ref/6ins.surfacedots.kin.head
+echo "bcea879aa884d7686e5213a9e9c935b4 6ins.surfacedots.kin.head" > checksum
+md5sum --check checksum
echo -e "\e[92m\e[1mPassed\e[0m"
echo
echo -e "\e[93m\e[1mTest 5\e[0m"
king-probe -both chainE chainF 6ins.pdb1 >> 6insEF.kin
tail +2 6insEF.kin > 6insEF.kin.head
-tail +2 ../ref/6insEF.kin > ../ref/6insEF.kin.head
-diff 6insEF.kin.head ../ref/6insEF.kin.head
+echo "29f07cd1e66b932f66db395264a6160a 6insEF.kin.head" > checksum
+md5sum --check checksum
echo -e "\e[92m\e[1mPassed\e[0m"
echo
echo -e "\e[93m\e[1mTest 6\e[0m"
king-probe -once all all 6ins.pdb1 1zni.pdb1 >> 6ins_1zni.kin
tail +2 6ins_1zni.kin > 6ins_1zni.kin.head
-tail +2 ../ref/6ins_1zni.kin > ../ref/6ins_1zni.kin.head
-diff 6ins_1zni.kin.head ../ref/6ins_1zni.kin.head
+echo "b14361cd9e8fe621e74174bc24042adb 6ins_1zni.kin.head" > checksum
+md5sum --check checksum
echo -e "\e[92m\e[1mPassed\e[0m"
echo
-
View it on GitLab: https://salsa.debian.org/med-team/king-probe/-/commit/d8b145dc2a9d6cf2dc305b9fce70aeec00e22fa6
--
View it on GitLab: https://salsa.debian.org/med-team/king-probe/-/commit/d8b145dc2a9d6cf2dc305b9fce70aeec00e22fa6
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/20200727/e4ad1d90/attachment-0001.html>
More information about the debian-med-commit
mailing list