aboutsummaryrefslogtreecommitdiff
path: root/testmodifyenc.sh
blob: 5c182ccc36f1d1ca9e7674e60caf263d58a3f319 (plain)
1
2
3
4
5
6
7
8
9
10
#!/bin/bash
echo "Modify (encrypted):"
for i in $(seq 1 $2)
do
    $1 -u 1 -k a modifyfile -e -f $i -i container1/hello-world.tar > /dev/null
    if [[ $? -ne 0 ]]
    then
        echo "Request failed!"
    fi
done