summaryrefslogtreecommitdiff
path: root/etc/mtree/BSD.tests.dist
diff options
context:
space:
mode:
authorEnji Cooper <ngie@FreeBSD.org>2017-03-03 20:15:22 +0000
committerEnji Cooper <ngie@FreeBSD.org>2017-03-03 20:15:22 +0000
commit7d9ade5da19faff73191fa7fc3e09c2ab3b5e6bf (patch)
treec4f1cdfd6ec5c1b616a992ed4365f59b51946b4e /etc/mtree/BSD.tests.dist
parent0d84335f991f528c6f038e79dd5cc0a7770532da (diff)
downloadsrc-test2-7d9ade5da19faff73191fa7fc3e09c2ab3b5e6bf.tar.gz
src-test2-7d9ade5da19faff73191fa7fc3e09c2ab3b5e6bf.zip
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
Notes
Notes: svn path=/head/; revision=314613
Diffstat (limited to 'etc/mtree/BSD.tests.dist')
-rw-r--r--etc/mtree/BSD.tests.dist2
1 files changed, 2 insertions, 0 deletions
diff --git a/etc/mtree/BSD.tests.dist b/etc/mtree/BSD.tests.dist
index c2ae1e797792..90065b8e2fe7 100644
--- a/etc/mtree/BSD.tests.dist
+++ b/etc/mtree/BSD.tests.dist
@@ -620,6 +620,8 @@
..
ident
..
+ indent
+ ..
join
..
jot