repo.or.cz
/
tig.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Don't complete any settings in the section column
[tig.git]
/
test
/
builtin-config.sh
blob
f3ad16dcbcc38dfd2fcf21884773fde9a600bbb5
1
#!/bin/bash
2
3
result
=
0
4
5
export
GIT_DIR
=
.
/
does-not-exist
6
export
TIGRC_SYSTEM
=
7
export
TIGRC_USER
=
8
9
src
/
tig
2
>&
1
|
grep
-q
"tig: Error in built-in config"
10
if
[
$?
==
0
]
11
then
12
echo
"not ok - Errors reported in built-in config"
13
result
=
$
((
$result
+
1
))
14
else
15
echo
"ok - Built-in config loaded"
16
fi
17
18
exit
$result