freebsd-dev/usr.bin/m4/tests/regress.quotes.out
Julio Merino 3a92d97ff0 Migrate most of tools/regression/usr.bin/ to the new tests layout.
I'm starting with the easy cases.  The leftovers need to be looked at a
bit more closely.

Note that this change _does_ modify the code of the old tests.  This is
required in order to allow the code to locate the data files in the
source directory instead of the current directory, because Kyua
automatically changes the latter to a temporary directory.

Also note that at least one test is known to be broken here.  Actually,
the test is not really broken: it's marked as a TODO but unfortunately
Kyua's TAP parser currently does not understand that.  Will have to be
fixed separately.
2014-03-16 08:04:06 +00:00

50 lines
830 B
Plaintext

m4: unclosed quote:
quotes.m4 at line 55
1: normal
quoted string
[quoted STRING]
normal STRING
half quoted string
going up to that string
2: kill quotes
`quoted STRING'
[quoted STRING]
normal STRING
`half quoted STRING
going up to that STRING'
3: normal changed quote
`quoted STRING'
quoted string
normal STRING
`half quoted STRING
going up to that STRING'
4: empty quotes, kill them too
`quoted STRING'
[quoted STRING]
normal STRING
`half quoted STRING
going up to that STRING'
5: start quote only
quoted string'[quoted STRING]
normal STRING
half quoted stringgoing up to that STRING'
6: normal quotes are back
quoted string
[quoted STRING]
normal STRING
half quoted string
going up to that string
7: start quote+empty end quote
`quoted STRING'
quoted string]
normal string
`half quoted string
going up to that string'