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