Skip to content

Commit

Permalink
fixing automated tests (attempt#2)
Browse files Browse the repository at this point in the history
  • Loading branch information
jewettaij committed Feb 2, 2022
1 parent d8ddc59 commit 77fb9e7
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
[![CircleCI](https://circleci.com/gh/jewettaij/minrms.svg?style=svg)](https://circleci.com/gh/jewettaij/minrms)
[![CircleCI](https://img.shields.io/circleci/build/github/jewettaij/minrms/main)](https://circleci.com/gh/jewettaij/minrms)
[![GitHub code size in bytes](https://img.shields.io/github/languages/code-size/jewettaij/minrms)]()
[![Website](https://img.shields.io/website?down_color=orange&down_message=moltemplate.org%20offline&up_color=green&up_message=online&url=https%3A%2F%2Fwww.cgl.ucsf.edu%2FResearch%2Fminrms)](http://www.cgl.ucsf.edu/Research/minrms)

Expand Down
4 changes: 2 additions & 2 deletions tests/test_align2msf.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/usr/bin/env bash

test_simple() {
test_align2msf() {
cd tests/
# commenting out:
# (we already downloaded these files in an earlier test)
Expand All @@ -13,7 +13,7 @@ test_simple() {
mv myoglobin.pdb 1a6m.pdb
python3 ../bin/align2msf/align2msf.py align_server_output/1a6m+4hhbA.txt 1a6m.pdb 4hhb.pdb > align2msf_output.msf
FILE_SIZE=`wc -c align2msf_output.msf | awk '{print $1}'`
assertTrue "align2msf.py failed" "[ -eq $FILE_SIZE 1578 ]"
assertTrue "align2msf.py failed" "[ $FILE_SIZE -eq 1578 ]"
#rm -f align2msf_output.msf
cd ../
}
Expand Down
2 changes: 1 addition & 1 deletion tests/test_typical_usage.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/usr/bin/env bash

test_simple() {
test_typical_usage() {
cd tests/
wget http://www.rcsb.org/pdb/files/4hhb.pdb
wget http://www.rcsb.org/pdb/files/1a6m.pdb
Expand Down

0 comments on commit 77fb9e7

Please sign in to comment.