xref: /Universal-ctags/Tmain/output-input-field-with-no-escape.d/run.sh (revision 039bc97f9904997c909599996deaad94e83b77a5)
1# Copyright: 2016 Masatake YAMATO
2# License: GPL-2
3
4. ../utils.sh
5
6CTAGS=$1
7
8
9
10if ! ( echo '#define foo' > 'a\b.c' ) 2> /dev/null; then
11	   skip "unsuitable platform to run this test"
12fi
13
14echo '# u-ctags'
15${CTAGS} --options=NONE --pseudo-tags=TAG_OUTPUT_MODE --extras=+p --output-format=u-ctags -o - 'a\b.c'
16
17echo '# e-ctags'
18${CTAGS} --options=NONE --pseudo-tags=TAG_OUTPUT_MODE --extras=+p --output-format=e-ctags -o - 'a\b.c'
19
20rm 'a\b.c'
21