diff --git a/tests/test-dumprevlog b/tests/test-dumprevlog
--- a/tests/test-dumprevlog
+++ b/tests/test-dumprevlog
@@ -23,7 +23,7 @@ python $CONTRIBDIR/dumprevlog .hg/store/
 echo dumprevlog done
 
 # dump all revlogs to file repo.dump
-find .hg/store/ -name "*.i" | xargs python $CONTRIBDIR/dumprevlog > ../repo.dump
+find .hg/store -name "*.i" | xargs python $CONTRIBDIR/dumprevlog > ../repo.dump
 
 cd ..