Skip to content

Commit 2916800

Browse files
committed
Adding scheme test
1 parent 6fd018d commit 2916800

1 file changed

Lines changed: 8 additions & 0 deletions

File tree

bin/stashcp2/tests/test_inside_docker.sh

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,15 @@ if [ "$result" != "12bdb9a96cd5e8ca469b727a81593201" ]; then
107107
fi
108108
rm -f query.test
109109

110+
# Scheme test
111+
/StashCache/stashcp.py --cache=$XRD_CACHE --method=http,xrootd -d stash:///user/dweitzel/public/blast/queries/query1 file://$PWD
110112

113+
result=`md5sum query1 | awk '{print $1;}'`
114+
115+
if [ "$result" != "12bdb9a96cd5e8ca469b727a81593201" ]; then
116+
exit 1
117+
fi
118+
rm -f query.test
111119

112120
/StashCache/stashcp.py --cache=$XRD_CACHE -d -r /user/dweitzel/public/blast/queries ./
113121
ls -lah

0 commit comments

Comments
 (0)