1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21
|
#!/usr/bin/env bash
## Test for issue2333 - <SYNOPSIS: Error message when pushing and darcs not in path.>
. lib # Load some portability helpers.
require_ghc 706
# work around issue2720 (MacOS)
if test -x /usr/bin/security; then
ln -s /usr/bin/security .
fi
darcs init --repo R # Create our test repos.
darcs init --repo S
cd R
echo 'Example content.' > f
darcs record -lam 'Add f.'
thedarcs=$(type -P darcs)
PATH='..' $thedarcs push ../S -a # Try to push patches between repos.
cd ..
|