platform_external_dtc/tests/lorem.txt
David Gibson 0b3b46e019 Generate test data for fdtput more sensibly
Currently run_tests.sh generates several files of text test data.  The
procedure it uses for this is somewhat torturous and has several problems:
 * Since the test data is derived from a dts file, a cursory glance at the
test output suggests something is wrong with the processing of that dts.
This is misleading since in fact it's just being used as an arbirary
string.
 * Since the base input has linefeeds removed, the head and sort commands
used later have no effect.
 * Although an attempt is made to get rid of characters which the shell
will mangle, it's not thorough enough.  Specifically it leaves in \ which
means that some string escapes found in the input data can get expanded
somewhere along the line in some shells.

This patch, therefore, replaces this generation of test data with a
pre-canned "Lorem ipsum" of approximately 2k.  On my system, where /bin/sh
is dash, this fixes a test failure due to the aforementioned string
escapes being evaluated on one but not the other of the two comparison
paths (I haven't tracked down exactly where the expansion is happening).

Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
2012-02-03 08:42:50 -06:00

35 lines
2 KiB
Text

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Mauris eros
arcu, egestas non pellentesque non, euismod eu nibh. Proin arcu metus,
dapibus vitae sodales rhoncus, suscipit vel nulla. Etiam lorem est,
aliquam ut fringilla sit amet, condimentum et quam. Duis eu arcu odio,
at pulvinar nisi. Morbi condimentum eros ut turpis rhoncus
pharetra. Pellentesque habitant morbi tristique senectus et netus et
malesuada fames ac turpis egestas. Nam et nulla enim. Etiam fringilla
eleifend neque, at posuere ante lacinia a. Duis orci tortor, dictum ac
gravida ac, euismod eu leo. Sed eget dolor tortor. Pellentesque
venenatis, lectus eu vulputate porta, libero ipsum convallis mi, sit
amet vehicula arcu elit sit amet odio.
Fusce iaculis massa metus, id sagittis diam. Praesent molestie ante
vel odio tincidunt auctor. Cum sociis natoque penatibus et magnis dis
parturient montes, nascetur ridiculus mus. Duis rutrum vehicula nisl
eget condimentum. In in justo nisl. Nullam id arcu at nisl eleifend
pretium. Nulla interdum ligula id elit mollis dictum a sit amet
quam. Nullam iaculis laoreet ipsum at tempus. Vestibulum in cursus
dui. Curabitur porta lectus eget urna bibendum congue eget elementum
nisi. Proin sit amet lectus ut neque iaculis consectetur eu sit amet
nibh. Maecenas rhoncus dolor ac nunc gravida blandit. Fusce sem felis,
aliquam a porttitor a, porta quis odio.
Nunc purus lorem, sollicitudin non ultricies id, porta vitae
enim. Nulla tristique gravida leo ut suscipit. Phasellus vitae turpis
libero. Proin ac purus dolor, in suscipit magna. Sed et enim
arcu. Morbi semper aliquet suscipit. Aenean laoreet condimentum massa,
eu pharetra magna fermentum ut. Morbi euismod convallis tortor, eget
fringilla lacus sagittis non. Nullam bibendum posuere feugiat.
In at pulvinar massa. Mauris nunc lectus, mollis et malesuada
pharetra, cursus sed lacus. Integer dolor urna, interdum a mollis at,
vestibulum non nisl. Sed in urna tortor. Mauris arcu felis, volutpat
quis euismod vel, congue sit amet ipsum. Morbi in aliquet purus. Duis
cras amet.