Mercurial > hg
view tests/test-paths @ 9040:4743d1a65dfe
test: fix for compatibilty with true Bourne /bin/sh
'export foo=bar' is an extension, replaced with 'foo=bar; export foo'
author | David Champion <dgc@uchicago.edu> |
---|---|
date | Sun, 05 Jul 2009 13:58:37 -0500 |
parents | 92eb0a019bf2 |
children |
line wrap: on
line source
#!/bin/sh hg init a hg clone a b cd a echo '[paths]' >> .hg/hgrc echo 'dupe = ../b' >> .hg/hgrc hg in dupe | fgrep '../' cd .. hg -R a in dupe | fgrep '../' true