aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xtestall.sh3
-rwxr-xr-xtestcreate.sh5
-rwxr-xr-xtestmodify.sh6
3 files changed, 14 insertions, 0 deletions
diff --git a/testall.sh b/testall.sh
new file mode 100755
index 0000000..1416582
--- /dev/null
+++ b/testall.sh
@@ -0,0 +1,3 @@
+#!/bin/bash
+time ./testcreate.sh
+time ./testmodify.sh
diff --git a/testcreate.sh b/testcreate.sh
new file mode 100755
index 0000000..e95f04a
--- /dev/null
+++ b/testcreate.sh
@@ -0,0 +1,5 @@
+#!/bin/bash
+for i in $(seq 1 1000)
+do
+ ./client -u 1 -k a create > /dev/null
+done
diff --git a/testmodify.sh b/testmodify.sh
new file mode 100755
index 0000000..714f3a7
--- /dev/null
+++ b/testmodify.sh
@@ -0,0 +1,6 @@
+#!/bin/bash
+./client -u 1 -k a create > /dev/null
+for i in $(seq 1 1000)
+do
+ ./client -u 1 -k a modifyfile -f 1 -i container1/hello-world.tar > /dev/null
+done