repo.or.cz
/
git-darcs-import.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Follow upstream changes -- Bytestring updates
[git-darcs-import.git]
/
bugs
/
issue1162_add_nonexistent_slash.sh
blob
c0b85a75b50b31ce5665ff21aed31b52826c0d0a
1
#!/bin/sh
2
3
set -ev
4
5
not
() {
"$@"
&&
exit
1
||
:; }
6
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
..
15
16
rm
-rf
temp