]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
run_seed_to: assume tool is in path, not cwd
authorSage Weil <sage.weil@dreamhost.com>
Sat, 14 Apr 2012 00:04:24 +0000 (17:04 -0700)
committerSage Weil <sage.weil@dreamhost.com>
Sat, 14 Apr 2012 03:38:38 +0000 (20:38 -0700)
Signed-off-by: Sage Weil <sage.weil@dreamhost.com>
src/test/filestore_test/run_seed_to.sh

index 2cc34617ce307c5c1f5e50574b3e6a4956d576bf..b030c6de00cea4f88946ad7d70d48f61296443d2 100755 (executable)
@@ -12,22 +12,22 @@ echo kill at $killat
 to=1000000000
 
 rm -fr a a.fail a.recover
-./test_filestore_idempotent_sequence run-sequence-to $to a a/journal \
+test_filestore_idempotent_sequence run-sequence-to $to a a/journal \
     --filestore-xattr-use-omap --test-seed $seed --osd-journal-size 100 \
     --filestore-kill-at $killat \
     --log-file a.fail --debug-filestore 20 || true
 
-stop=`./test_filestore_idempotent_sequence get-last-op a a/journal --filestore-xattr-use-omap \
+stop=`test_filestore_idempotent_sequence get-last-op a a/journal --filestore-xattr-use-omap \
     --log-file a.recover --debug-filestore 20`
 
 echo stopped at $stop
 
 rm -rf b b.clean
-./test_filestore_idempotent_sequence run-sequence-to $stop b b/journal \
+test_filestore_idempotent_sequence run-sequence-to $stop b b/journal \
     --filestore-xattr-use-omap --test-seed $seed --osd-journal-size 100 \
     --log-file b.clean --debug-filestore 20
 
-if ./test_filestore_idempotent_sequence diff a a/journal b b/journal \
+if test_filestore_idempotent_sequence diff a a/journal b b/journal \
     --filestore-xattr-use-omap; then
     echo OK
     exit 0