Bug fixing
This commit is contained in:
8
test.sh
8
test.sh
@@ -48,6 +48,14 @@ BASE_URL="http://${HOST}:${PORT}"
|
||||
|
||||
BASE_TAG="autotest"
|
||||
|
||||
|
||||
# test if server is running
|
||||
if ! curl -s "${BASE_URL}/status" | jq -r '.result' | grep -q 'success'; then
|
||||
die "server is not running"
|
||||
fi
|
||||
|
||||
echo "Simple Object Storage server is running at ${BASE_URL}"
|
||||
|
||||
# test every action in the README.md file, leaving the system in the same state it was found
|
||||
# and print the output of each action
|
||||
|
||||
|
Reference in New Issue
Block a user