freebsd-nq/etc
Enji Cooper 7d9ade5da1 Integrate indent tests added in r313544 into ATF/Kyua and the FreeBSD
test suite

This change does the following:

- Introduces symmetry in the test inputs/outputs by adding the exit
  code to the files. This simplified the test driver notably by
  requiring less filename/test name manipulation.
- Adds a test driver for the testcases added in r313544, patterned
  after bin/sh/tests/functional_test.sh . The driver calls indent as
  noted in r313544, with an exception: The $FreeBSD$ RCS keyword's
  expansion is reindented with indent, which means that the output
  differs from the expected output. Thus, all lines with $FreeBSD$
  in them are deleted on the fly, both in the input file and the
  output file.

  The test inputs/outputs are copied to the kyua sandbox before the
  test is run as the pathing in some of the files relies on pathing
  normalized to the current directory (copying the files is the
  easiest way to resolve the issue).

Approved by:	pstef (maintainer)
Reviewed by:	pstef
X-MFC with:	r313544
Sponsored by:	Dell EMC Isilon
Differential Revision:	https://reviews.freebsd.org/D9682
2017-03-03 20:15:22 +00:00
..
autofs
bluetooth
casper
defaults Remove SVR4 (System V Release 4) binary compatibility support. 2017-02-28 05:14:42 +00:00
devd
etc.aarch64
etc.amd64
etc.arm
etc.i386
etc.mips
etc.powerpc
etc.riscv
etc.sparc64
gss
mail
mtree Integrate indent tests added in r313544 into ATF/Kyua and the FreeBSD 2017-03-03 20:15:22 +00:00
newsyslog.conf.d
ntp
pam.d
periodic
pkg
rc.d Remove SVR4 (System V Release 4) binary compatibility support. 2017-02-28 05:14:42 +00:00
root
sendmail
amd.map
apmd.conf
auto_master
blacklistd.conf
crontab
csh.cshrc
csh.login
csh.logout
ddb.conf
devd.conf Update devd.conf for ports change 421360 2017-02-27 15:32:56 +00:00
devfs.conf
dhclient.conf
disktab
fbtab
freebsd-update.conf
ftpusers
gettytab
group
hosts
hosts.allow
hosts.equiv
hosts.lpd
inetd.conf
libalias.conf
libmap.conf
login.access
login.conf
mac.conf
Makefile
Makefile.depend
man.alias
master.passwd
minfree
motd
netconfig
netstart
network.subr
networks
newsyslog.conf
nls.alias
nscd.conf
nsmb.conf
nsswitch.conf
ntp.conf
opieaccess
pccard_ether
pf.os
phones
portsnap.conf
printcap
profile
protocols
rc
rc.bsdextended
rc.firewall
rc.initdiskless
rc.resume
rc.sendmail
rc.shutdown
rc.subr
rc.suspend
regdomain.xml
remote
rpc
services
shells
snmpd.config
sysctl.conf
syslog.conf
termcap.small