aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFranklin Wei <me@fwei.tk>2018-09-19 16:04:54 -0400
committerFranklin Wei <me@fwei.tk>2018-09-19 16:04:54 -0400
commitdd24cb7f9a0091919b912bda27a9d280774e5ccb (patch)
tree53d9bf580e689134b654a23f348c1c50b739822d
parent11beb9b427df1be1847c6c95182deb8775a889bc (diff)
downloadcsaa-dd24cb7f9a0091919b912bda27a9d280774e5ccb.zip
csaa-dd24cb7f9a0091919b912bda27a9d280774e5ccb.tar.gz
csaa-dd24cb7f9a0091919b912bda27a9d280774e5ccb.tar.bz2
csaa-dd24cb7f9a0091919b912bda27a9d280774e5ccb.tar.xz
Test build/compose file tracking in test scripts
-rwxr-xr-xtestmodify.sh2
-rwxr-xr-xtestmodifyenc.sh2
-rwxr-xr-xtestretrieve.sh2
3 files changed, 3 insertions, 3 deletions
diff --git a/testmodify.sh b/testmodify.sh
index 017f78c..5df4528 100755
--- a/testmodify.sh
+++ b/testmodify.sh
@@ -6,7 +6,7 @@ stop=$(echo "$3+$2-1" | bc)
for i in $(seq $3 $stop)
do
- $1 -u 1 -k a modifyfile -f $i -i container1/hello-world.tar -p > /dev/null
+ $1 -u 1 -k a modifyfile -f $i -i container1/hello-world.tar -ib container1/Dockerfile -ic container1/docker-compose.yml -p > /dev/null
if [[ $? -ne 0 ]]
then
echo "Request failed!"
diff --git a/testmodifyenc.sh b/testmodifyenc.sh
index 5376c6a..90e1245 100755
--- a/testmodifyenc.sh
+++ b/testmodifyenc.sh
@@ -5,7 +5,7 @@ stop=$(echo "$3+$2-1" | bc)
for i in $(seq $3 $stop)
do
- $1 -u 1 -k a modifyfile -e -f $i -i container1/hello-world.tar -p > /dev/null
+ $1 -u 1 -k a modifyfile -e -f $i -i container1/hello-world.tar -ib container1/Dockerfile -ic container1/docker-compose.yml -p > /dev/null
if [[ $? -ne 0 ]]
then
echo "Request failed!"
diff --git a/testretrieve.sh b/testretrieve.sh
index 05bfdb1..bc31925 100755
--- a/testretrieve.sh
+++ b/testretrieve.sh
@@ -6,7 +6,7 @@ stop=$(echo "$3+$2-1" | bc)
for i in $(seq $3 $stop)
do
- $1 -u 1 -k a retrievefile -f $i -o out -p > /dev/null
+ $1 -u 1 -k a retrievefile -f $i -o out -ob out_dockerfile -oc out_composefile -p > /dev/null
if [[ $? -ne 0 ]]
then
echo "Request failed!"