Skip to content

Commit b841018

Browse files
committed
Merge branch 'master' into add-pypi
2 parents a1491be + 78aca4c commit b841018

2 files changed

Lines changed: 149 additions & 122 deletions

File tree

bin/stashcp2/tests/test_inside_docker.sh

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,39 @@ result=`md5sum query1 | awk '{print $1;}'`
7575
if [ "$result" != "12bdb9a96cd5e8ca469b727a81593201" ]; then
7676
exit 1
7777
fi
78+
rm -f query.test
79+
80+
# Perform methods test
81+
/StashCache/bin/stashcp --cache=$XRD_CACHE --method=cvmfs,xrootd -d /user/dweitzel/public/blast/queries/query1 ./
82+
83+
result=`md5sum query1 | awk '{print $1;}'`
84+
85+
if [ "$result" != "12bdb9a96cd5e8ca469b727a81593201" ]; then
86+
exit 1
87+
fi
88+
rm -f query.test
89+
90+
# Perform methods test
91+
/StashCache/bin/stashcp --cache=$XRD_CACHE --method=xrootd -d /user/dweitzel/public/blast/queries/query1 ./
92+
93+
result=`md5sum query1 | awk '{print $1;}'`
94+
95+
if [ "$result" != "12bdb9a96cd5e8ca469b727a81593201" ]; then
96+
exit 1
97+
fi
98+
rm -f query.test
99+
100+
# Perform methods test
101+
/StashCache/bin/stashcp --cache=$XRD_CACHE --method=http,xrootd -d /user/dweitzel/public/blast/queries/query1 ./
102+
103+
result=`md5sum query1 | awk '{print $1;}'`
104+
105+
if [ "$result" != "12bdb9a96cd5e8ca469b727a81593201" ]; then
106+
exit 1
107+
fi
108+
rm -f query.test
109+
110+
78111

79112
/StashCache/bin/stashcp --cache=$XRD_CACHE -d -r /user/dweitzel/public/blast/queries ./
80113
ls -lah

0 commit comments

Comments
 (0)