Home | History | Annotate | Download | only in indent

Lines Matching refs:indent

28 # Tests for indent that do not follow the input-profile-output scheme that is
31 indent=$(atf_config_get usr.bin.indent.test_indent /usr/bin/indent)
45 env SIMPLE_BACKUP_SUFFIX=".bak" "$indent" code.c
55 # On normal parse errors, indent continues until the end of the file.
65 "$indent" code.c
73 cat <<-\EOF > .indent.pro
100 "$indent" -v before.c after.c
184 "$indent" -i1 -nut < 'code.c'
197 printf '%s\n' '-P/nonexistent' > .indent.pro
202 "$indent" < code.c
211 printf ' -i3 xi5 +di0\n' > .indent.pro
217 -e "match:/.indent.pro: option \"xi5\" must start with '-'" \
218 "$indent" < code.c
234 cat << \EOF > .indent.pro
277 "$indent" code.c -st
284 # that point, indent has already decided to load the .pro file, and
287 echo ' -npro -di8' > .indent.pro
292 "$indent" code.c -st
330 "$indent" -Ucode.types code.c -di0 -st
336 # Before NetBSD indent.c 1.147 from 2021-10-24, indent reported the
351 "$indent" code.c -st
361 "$indent" code.c
377 "$indent" -Pnonexistent.pro -Perror.pro -Plast.pro code.c -st
392 "$indent" -di0 -Pcustom.pro code.c -st
394 "$indent" -Pcustom.pro -di0 code.c -st
396 "$indent" -Pcustom.pro code.c -st -di0
406 "$indent" -v code.c -st
416 "$indent" code.c -st