# HG changeset patch # User Mads Kiilerich # Date 1335137966 -7200 # Node ID 123f96c4d454c02bbdb0fb2569c6a9d831802155 # Parent fc04698fa7787ac4de8b84f9c8b5183fe3512236 tests: fix bashism in test-convert-splicemap.t This should have been caught by check-code. diff -r fc04698fa778 -r 123f96c4d454 tests/test-convert-splicemap.t --- a/tests/test-convert-splicemap.t Wed Apr 18 15:16:15 2012 +0200 +++ b/tests/test-convert-splicemap.t Mon Apr 23 01:39:26 2012 +0200 @@ -125,7 +125,7 @@ the bug should be exhibited with all conversion orders. $ cat > ../splicemap < $(hg id -r 2 -i --debug) $(hg id -r 1 -i --debug), $(hg id -r 3 -i --debug) + > `(hg id -r 2 -i --debug)` `(hg id -r 1 -i --debug)`, `(hg id -r 3 -i --debug)` > EOF $ cd .. $ cat splicemap @@ -169,9 +169,9 @@ converting... 0 addb $ cat > splicemap < $(hg -R ordered id -r 2 -i --debug) \ - > $(hg -R ordered-hg2 id -r 1 -i --debug),\ - > $(hg -R ordered-hg2 id -r 2 -i --debug) + > `(hg -R ordered id -r 2 -i --debug)` \ + > `(hg -R ordered-hg2 id -r 1 -i --debug)`,\ + > `(hg -R ordered-hg2 id -r 2 -i --debug)` > deadbeef102a90ea7b4a3361e4082ed620918c26 deadbeef102a90ea7b4a3361e4082ed620918c27 > EOF $ hg convert --splicemap splicemap ordered ordered-hg2 @@ -211,9 +211,9 @@ Test invalid dependency $ cat > splicemap < $(hg -R ordered id -r 2 -i --debug) \ + > `(hg -R ordered id -r 2 -i --debug)` \ > deadbeef102a90ea7b4a3361e4082ed620918c26,\ - > $(hg -R ordered-hg2 id -r 2 -i --debug) + > `(hg -R ordered-hg2 id -r 2 -i --debug)` > EOF $ hg convert --splicemap splicemap ordered ordered-hg4 initializing destination ordered-hg4 repository