can parse api key
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
FROM ubuntu:trusty
|
||||
|
||||
RUN apt-get update && apt-get install -yq curl && apt-get clean
|
||||
|
||||
WORKDIR /app
|
||||
|
||||
ADD test.sh /app/test.sh
|
||||
|
||||
CMD ["bash", "test.sh"]
|
||||
@@ -0,0 +1,12 @@
|
||||
sleep 5
|
||||
echo "test string" > /sync1/testfile
|
||||
echo /sync1/testfile
|
||||
echo /sync2/testfile
|
||||
|
||||
#if curl web | grep -q '<b>Visits:</b> '; then
|
||||
# echo "Tests passed!"
|
||||
# exit 0
|
||||
#else
|
||||
# echo "Tests failed!"
|
||||
# exit 1
|
||||
#fi
|
||||
Reference in New Issue
Block a user