Follow upstream changes -- Bytestring updates
[git-darcs-import.git] / bugs / issue1162_add_nonexistent_slash.sh
blobc0b85a75b50b31ce5665ff21aed31b52826c0d0a
1 #!/bin/sh
3 set -ev
5 not () { "$@" && exit 1 || :; }
7 rm -rf temp
8 mkdir temp
9 cd temp
10 darcs init
11 not darcs add a/ 2> err
12 cat err
13 grep 'does not exist (No such file or directory)' err
14 cd ..
16 rm -rf temp