<feed xmlns='http://www.w3.org/2005/Atom'>
<title>platform_external_ltp/pan, branch master</title>
<subtitle>Unnamed repository; edit this file 'description' to name the repository.
</subtitle>
<link rel='alternate' type='text/html' href='https://git.replicant.us/mirrors/AOSP/platform_external_ltp/'/>
<entry>
<title>pan/ltp-pan.c: Add file parsing protection</title>
<updated>2019-11-18T11:51:15+00:00</updated>
<author>
<name>Dylan Chung</name>
<email>dylan@andestech.com</email>
</author>
<published>2019-11-18T09:58:58+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/mirrors/AOSP/platform_external_ltp/commit/?id=e566f9ac7816b38bf16ba3570806427385dbf98b'/>
<id>e566f9ac7816b38bf16ba3570806427385dbf98b</id>
<content type='text'>
This patch adds protection and print warning when the command part of
the tests is empty.

A segmentation fault occurs when given the wrong format in test cases
file for example:

    name  command line
    ----- -----------------
    dio10 diotest4 -b 65536    (O)
    dio10                      (X)
    dio10    diotest4 -b 65536 (X)

In this patch, ltp-pan will return empty collection when the given
testcase files are wrongly formatted and cause ltp-pan to abort. The
warning message will indicate the name of the error testcase.

Signed-off-by: Dylan Chung &lt;dylan@andestech.com&gt;
Reviewed-by: Cyril Hrubis &lt;chrubis@suse.cz&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This patch adds protection and print warning when the command part of
the tests is empty.

A segmentation fault occurs when given the wrong format in test cases
file for example:

    name  command line
    ----- -----------------
    dio10 diotest4 -b 65536    (O)
    dio10                      (X)
    dio10    diotest4 -b 65536 (X)

In this patch, ltp-pan will return empty collection when the given
testcase files are wrongly formatted and cause ltp-pan to abort. The
warning message will indicate the name of the error testcase.

Signed-off-by: Dylan Chung &lt;dylan@andestech.com&gt;
Reviewed-by: Cyril Hrubis &lt;chrubis@suse.cz&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>ltp-pan: Increase allowed width of test name in logs</title>
<updated>2018-08-02T12:29:44+00:00</updated>
<author>
<name>Punit Agrawal</name>
<email>punit.agrawal@arm.com</email>
</author>
<published>2018-07-31T16:47:45+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/mirrors/AOSP/platform_external_ltp/commit/?id=5ce0615cad1b549e234157d9e669f5aba3cb1e97'/>
<id>5ce0615cad1b549e234157d9e669f5aba3cb1e97</id>
<content type='text'>
ltp-pan truncates the test name when logging the outcome of
tests. This is causing issues with tooling which is expecting to parse
unique test names from the log.

cgroup_fj_stress_cpuacct_2_2_o PASS       0
cgroup_fj_stress_cpuacct_3_3_o PASS       0
cgroup_fj_stress_cpuacct_4_4_o PASS       0
cgroup_fj_stress_cpuacct_2_9_o PASS       0
cgroup_fj_stress_cpuacct_10_3_ PASS       0

Fix this by increasing the expected size of test name and removing the
hard restriction on the size of the name. Refactor the common part of
the format string into a macro as it seems to be repeated a few.

Signed-off-by: Punit Agrawal &lt;punit.agrawal@arm.com&gt;
Acked-by: Cyril Hrubis &lt;chrubis@suse.cz&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
ltp-pan truncates the test name when logging the outcome of
tests. This is causing issues with tooling which is expecting to parse
unique test names from the log.

cgroup_fj_stress_cpuacct_2_2_o PASS       0
cgroup_fj_stress_cpuacct_3_3_o PASS       0
cgroup_fj_stress_cpuacct_4_4_o PASS       0
cgroup_fj_stress_cpuacct_2_9_o PASS       0
cgroup_fj_stress_cpuacct_10_3_ PASS       0

Fix this by increasing the expected size of test name and removing the
hard restriction on the size of the name. Refactor the common part of
the format string into a macro as it seems to be repeated a few.

Signed-off-by: Punit Agrawal &lt;punit.agrawal@arm.com&gt;
Acked-by: Cyril Hrubis &lt;chrubis@suse.cz&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>ltp-pan: Log start of test in kernel log</title>
<updated>2017-08-23T09:14:32+00:00</updated>
<author>
<name>Petr Vorel</name>
<email>pvorel@suse.cz</email>
</author>
<published>2017-08-22T13:33:46+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/mirrors/AOSP/platform_external_ltp/commit/?id=f1a471419dbc6ba55f42d9c593e7214d4e46a698'/>
<id>f1a471419dbc6ba55f42d9c593e7214d4e46a698</id>
<content type='text'>
This can be switched by new '-Q' flag or by existing '-q' flag (quiet mode).

Signed-off-by: Petr Vorel &lt;pvorel@suse.cz&gt;
Acked-by: Cyril Hrubis &lt;chrubis@suse.cz&gt;
Acked-by: Jan Stancek &lt;jstancek@redhat.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This can be switched by new '-Q' flag or by existing '-q' flag (quiet mode).

Signed-off-by: Petr Vorel &lt;pvorel@suse.cz&gt;
Acked-by: Cyril Hrubis &lt;chrubis@suse.cz&gt;
Acked-by: Jan Stancek &lt;jstancek@redhat.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Update references with my old legal name/email to my current name/email address</title>
<updated>2017-02-14T06:06:24+00:00</updated>
<author>
<name>Ngie Cooper</name>
<email>yaneurabeya@gmail.com</email>
</author>
<published>2017-02-14T06:06:24+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/mirrors/AOSP/platform_external_ltp/commit/?id=8967f960f820f449162101a02ee5747f195a8a57'/>
<id>8967f960f820f449162101a02ee5747f195a8a57</id>
<content type='text'>
No functional change

Signed-off-by: Ngie Cooper &lt;yaneurabeya@gmail.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
No functional change

Signed-off-by: Ngie Cooper &lt;yaneurabeya@gmail.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>ltp-pan: Flush FILE buffers before fork()</title>
<updated>2016-04-25T13:02:21+00:00</updated>
<author>
<name>Cyril Hrubis</name>
<email>chrubis@suse.cz</email>
</author>
<published>2016-04-25T12:46:37+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/mirrors/AOSP/platform_external_ltp/commit/?id=8bdf4010f8588358ccd2a5d100f9b02bf763dd39'/>
<id>8bdf4010f8588358ccd2a5d100f9b02bf763dd39</id>
<content type='text'>
Otherwise if exec() that starts the test in child fails, for example
when the test binary was missing, the failcmdfile will get corrupted
with many duplicated lines.

Signed-off-by: Cyril Hrubis &lt;chrubis@suse.cz&gt;
Signed-off-by: Mason &lt;slash.tmp@free.fr&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Otherwise if exec() that starts the test in child fails, for example
when the test binary was missing, the failcmdfile will get corrupted
with many duplicated lines.

Signed-off-by: Cyril Hrubis &lt;chrubis@suse.cz&gt;
Signed-off-by: Mason &lt;slash.tmp@free.fr&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>ltp: Don't link against libfl</title>
<updated>2016-02-02T16:00:03+00:00</updated>
<author>
<name>Chong Lu</name>
<email>Chong.Lu@windriver.com</email>
</author>
<published>2016-01-09T01:13:49+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/mirrors/AOSP/platform_external_ltp/commit/?id=4825f428cfb471a2959339749dc416bbab2e6684'/>
<id>4825f428cfb471a2959339749dc416bbab2e6684</id>
<content type='text'>
We have already defined yywrap function in scan.l file. After this, we no longer need to
link against libfl and so no longer get errors about undefined references to yylex.

Signed-off-by: Chong Lu &lt;Chong.Lu@windriver.com&gt;
Signed-off-by: Khem Raj &lt;raj.khem@gmail.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
We have already defined yywrap function in scan.l file. After this, we no longer need to
link against libfl and so no longer get errors about undefined references to yylex.

Signed-off-by: Chong Lu &lt;Chong.Lu@windriver.com&gt;
Signed-off-by: Khem Raj &lt;raj.khem@gmail.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>pan/symbol.c: remove unnecessary malloc type cast</title>
<updated>2015-06-16T19:59:53+00:00</updated>
<author>
<name>Maninder Singh</name>
<email>maninder1.s@samsung.com</email>
</author>
<published>2015-06-15T13:25:07+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/mirrors/AOSP/platform_external_ltp/commit/?id=34333488a1122b0ebea644cb29e2cb33f7db9a56'/>
<id>34333488a1122b0ebea644cb29e2cb33f7db9a56</id>
<content type='text'>
Signed-off-by: Maninder Singh &lt;maninder1.s@samsung.com&gt;
Signed-off-by: Akhilesh Kumar &lt;akhilesh.k@samsung.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Signed-off-by: Maninder Singh &lt;maninder1.s@samsung.com&gt;
Signed-off-by: Akhilesh Kumar &lt;akhilesh.k@samsung.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>pan/reporter.c: remove unnecessary malloc type cast</title>
<updated>2015-06-16T19:59:53+00:00</updated>
<author>
<name>Maninder Singh</name>
<email>maninder1.s@samsung.com</email>
</author>
<published>2015-06-15T13:24:42+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/mirrors/AOSP/platform_external_ltp/commit/?id=6ad4eb4652c657c615af7e1817dec029ed3358fd'/>
<id>6ad4eb4652c657c615af7e1817dec029ed3358fd</id>
<content type='text'>
Signed-off-by: Maninder Singh &lt;maninder1.s@samsung.com&gt;
Signed-off-by: Akhilesh Kumar &lt;akhilesh.k@samsung.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Signed-off-by: Maninder Singh &lt;maninder1.s@samsung.com&gt;
Signed-off-by: Akhilesh Kumar &lt;akhilesh.k@samsung.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>pan/ltp-bump.c: remove unnecessary malloc type cast</title>
<updated>2015-06-16T19:59:53+00:00</updated>
<author>
<name>Maninder Singh</name>
<email>maninder1.s@samsung.com</email>
</author>
<published>2015-06-15T13:24:16+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/mirrors/AOSP/platform_external_ltp/commit/?id=e5c927664577900a9dee202c42fd792e5db562a3'/>
<id>e5c927664577900a9dee202c42fd792e5db562a3</id>
<content type='text'>
Signed-off-by: Maninder Singh &lt;maninder1.s@samsung.com&gt;
Signed-off-by: Akhilesh Kumar &lt;akhilesh.k@samsung.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Signed-off-by: Maninder Singh &lt;maninder1.s@samsung.com&gt;
Signed-off-by: Akhilesh Kumar &lt;akhilesh.k@samsung.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>pan/ltp-pan.c: remove unnecessary malloc type cast</title>
<updated>2015-06-16T19:59:53+00:00</updated>
<author>
<name>Maninder Singh</name>
<email>maninder1.s@samsung.com</email>
</author>
<published>2015-06-15T13:23:51+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/mirrors/AOSP/platform_external_ltp/commit/?id=4ad5833caef77fb911da4f13bbd41187479228a5'/>
<id>4ad5833caef77fb911da4f13bbd41187479228a5</id>
<content type='text'>
Signed-off-by: Maninder Singh &lt;maninder1.s@samsung.com&gt;
Signed-off-by: Akhilesh Kumar &lt;akhilesh.k@samsung.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Signed-off-by: Maninder Singh &lt;maninder1.s@samsung.com&gt;
Signed-off-by: Akhilesh Kumar &lt;akhilesh.k@samsung.com&gt;
</pre>
</div>
</content>
</entry>
</feed>
