]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
qa: consistent snaptest-%d.sh naming
authorSage Weil <sage@newdream.net>
Tue, 27 Jul 2010 20:22:36 +0000 (13:22 -0700)
committerSage Weil <sage@newdream.net>
Tue, 27 Jul 2010 20:22:36 +0000 (13:22 -0700)
qa/workunits/snap_simple_races.sh [deleted file]
qa/workunits/snaptest-0.sh [new file with mode: 0755]
qa/workunits/snaptest-1.sh [new file with mode: 0755]
qa/workunits/snaptest1.sh [deleted file]

diff --git a/qa/workunits/snap_simple_races.sh b/qa/workunits/snap_simple_races.sh
deleted file mode 100755 (executable)
index a074a3e..0000000
+++ /dev/null
@@ -1,14 +0,0 @@
-#!/bin/sh -x
-
-set -e
-
-echo asdf > foo
-mkdir .snap/foo
-grep asdf .snap/foo/foo
-rmdir .snap/foo
-
-echo asdf > bar
-mkdir .snap/bar
-rm bar
-grep asdf .snap/bar/bar
-rmdir .snap/bar
diff --git a/qa/workunits/snaptest-0.sh b/qa/workunits/snaptest-0.sh
new file mode 100755 (executable)
index 0000000..a074a3e
--- /dev/null
@@ -0,0 +1,14 @@
+#!/bin/sh -x
+
+set -e
+
+echo asdf > foo
+mkdir .snap/foo
+grep asdf .snap/foo/foo
+rmdir .snap/foo
+
+echo asdf > bar
+mkdir .snap/bar
+rm bar
+grep asdf .snap/bar/bar
+rmdir .snap/bar
diff --git a/qa/workunits/snaptest-1.sh b/qa/workunits/snaptest-1.sh
new file mode 100755 (executable)
index 0000000..b898bce
--- /dev/null
@@ -0,0 +1,25 @@
+#!/bin/bash
+
+set -e
+
+echo 1 > file1
+echo 2 > file2
+echo 3 > file3
+[ -e file4 ] && rm file4
+mkdir .snap/snap1
+echo 4 > file4
+now=`ls`
+then=`ls .snap/snap1`
+rmdir .snap/snap1
+if [ "$now" = "$then" ]; then
+    echo live and snap contents are identical?
+    false
+fi
+
+# do it again
+echo 1 > file1
+echo 2 > file2
+echo 3 > file3
+mkdir .snap/snap1
+echo 4 > file4
+rmdir .snap/snap1
diff --git a/qa/workunits/snaptest1.sh b/qa/workunits/snaptest1.sh
deleted file mode 100755 (executable)
index b898bce..0000000
+++ /dev/null
@@ -1,25 +0,0 @@
-#!/bin/bash
-
-set -e
-
-echo 1 > file1
-echo 2 > file2
-echo 3 > file3
-[ -e file4 ] && rm file4
-mkdir .snap/snap1
-echo 4 > file4
-now=`ls`
-then=`ls .snap/snap1`
-rmdir .snap/snap1
-if [ "$now" = "$then" ]; then
-    echo live and snap contents are identical?
-    false
-fi
-
-# do it again
-echo 1 > file1
-echo 2 > file2
-echo 3 > file3
-mkdir .snap/snap1
-echo 4 > file4
-rmdir .snap/snap1