summaryrefslogtreecommitdiffstats
path: root/tests/libptxdisttest.sh
Commit message (Collapse)AuthorAgeFilesLines
* Update test for presence of procps psUwe Kleine-König2015-10-271-1/+1
| | | | | | | | | | | | | Since commit ea6d375e95f9 ("procps: switch from procps to procps-ng") the output of ps --help (on the target) changed which breaks the respective test. I didn't check what happens if this updated test hits an old procps but this hardly matters. Cc: Clemens Gruber <clemens.gruber@pqgruber.com> Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de> Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
* libptxdisttest.sh: propagate result in test_endMichael Olbrich2013-06-101-0/+2
| | | | | | | | | | | | | | | | | | This way a full test can return its result: test_foo() { test_begin checking "foo" foo result test_end } if test_foo; then # do something that needs foo fi Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
* tests/libptxdisttest.sh: remove \n in checkingMichael Grzeschik2011-07-251-1/+1
| | | | | the commit c38c301558a6ccd28d8d4ebb69ec77109dc10194 included one unrelated hunk, which we fix here.
* [libptxdisttest] added report_{begin, end} tag functionsMichael Grzeschik2010-04-281-1/+9
| | | | | | | | | | this patch adds the functions report_begin and report_and into the libptxdisttest.sh test library. This will probably break the output of some older testscripts depending this library Signed-off-by: Michael Grzeschik <m.grzeschik@pengutronix.de> Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
* [libptxdisttest] bugfix: hostfunction return value handlingMichael Grzeschik2010-04-281-3/+5
| | | | | | | | | This patch repairs a bug in the host function of the libptxdisttest.sh which did not correctly handle the return value of the evaluated commandline. Signed-off-by: Michael Grzeschik <m.grzeschik@pengutronix.de> Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
* make rsh detection more case tolerantJuergen Beisert2009-04-071-1/+2
| | | | git-svn-id: https://svn.pengutronix.de/svn/ptxdist/trunks/ptxdist-trunk@10263 33e552b5-05e3-0310-8538-816dae2090ed
* * tests: create directory if not thereRobert Schwebel2009-02-251-0/+2
| | | | git-svn-id: https://svn.pengutronix.de/svn/ptxdist/trunks/ptxdist-trunk@9860 33e552b5-05e3-0310-8538-816dae2090ed
* * tests: create parent directories as well, if necessaryRobert Schwebel2009-02-251-2/+2
| | | | git-svn-id: https://svn.pengutronix.de/svn/ptxdist/trunks/ptxdist-trunk@9846 33e552b5-05e3-0310-8538-816dae2090ed
* libptxdisttest.sh: need eval for more arguments and need to give back stdoutJochen Frieling2009-01-191-1/+2
| | | | git-svn-id: https://svn.pengutronix.de/svn/ptxdist/trunks/ptxdist-trunk@9589 33e552b5-05e3-0310-8538-816dae2090ed
* * libptxdisttest.sh: executing commands locally (host) should work this wayJochen Frieling2009-01-191-20/+7
| | | | git-svn-id: https://svn.pengutronix.de/svn/ptxdist/trunks/ptxdist-trunk@9588 33e552b5-05e3-0310-8538-816dae2090ed
* * libptxdisttest.sh: add missing quotingJochen Frieling2008-11-031-4/+4
| | | | git-svn-id: https://svn.pengutronix.de/svn/ptxdist/trunks/ptxdist-trunk@9066 33e552b5-05e3-0310-8538-816dae2090ed
* * libptxdisttest.sh: add blue color for user messagesWolfram Sang2008-11-031-0/+1
| | | | git-svn-id: https://svn.pengutronix.de/svn/ptxdist/trunks/ptxdist-trunk@9065 33e552b5-05e3-0310-8538-816dae2090ed
* * libptxdisttest.sh: preserve return value after 'result'Wolfram Sang2008-11-011-0/+2
| | | | git-svn-id: https://svn.pengutronix.de/svn/ptxdist/trunks/ptxdist-trunk@9043 33e552b5-05e3-0310-8538-816dae2090ed
* * tests: add test_wraps for all_onboardWolfram Sang2008-11-011-1/+8
| | | | git-svn-id: https://svn.pengutronix.de/svn/ptxdist/trunks/ptxdist-trunk@9037 33e552b5-05e3-0310-8538-816dae2090ed
* * libptxdisttest.sh: big enhancementsJochen Frieling2008-11-011-18/+51
| | | | git-svn-id: https://svn.pengutronix.de/svn/ptxdist/trunks/ptxdist-trunk@9034 33e552b5-05e3-0310-8538-816dae2090ed
* * libptxdisttest.sh: add time, test sequence no. and more modularizationJochen Frieling2008-10-071-14/+60
| | | | git-svn-id: https://svn.pengutronix.de/svn/ptxdist/trunks/ptxdist-trunk@8917 33e552b5-05e3-0310-8538-816dae2090ed
* * first set of test scripts also suitable for U-Boot1Wolfram Sang2008-08-131-2/+4
| | | | git-svn-id: https://svn.pengutronix.de/svn/ptxdist/trunks/ptxdist-trunk@8744 33e552b5-05e3-0310-8538-816dae2090ed
* * make test function 'remote_busybox' return with proper valueWolfram Sang2008-08-111-4/+4
| | | | git-svn-id: https://svn.pengutronix.de/svn/ptxdist/trunks/ptxdist-trunk@8739 33e552b5-05e3-0310-8538-816dae2090ed
* * libptxdisttest.sh: Cleanup and adding report-writingJochen Frieling2008-06-201-9/+67
| | | | git-svn-id: https://svn.pengutronix.de/svn/ptxdist/trunks/ptxdist-trunk@8532 33e552b5-05e3-0310-8538-816dae2090ed
* * libptxdisttest.sh: eliminate sed-on-target dependency and check for ↵Jochen Frieling2008-06-181-3/+12
| | | | | | proper rsh on host git-svn-id: https://svn.pengutronix.de/svn/ptxdist/trunks/ptxdist-trunk@8530 33e552b5-05e3-0310-8538-816dae2090ed
* * libptxdisttest.sh: fix escaping and quotingJochen Frieling2008-06-171-29/+29
| | | | git-svn-id: https://svn.pengutronix.de/svn/ptxdist/trunks/ptxdist-trunk@8529 33e552b5-05e3-0310-8538-816dae2090ed
* * libptxdisttest.sh: fix logfile pathJochen Frieling2008-06-161-3/+6
| | | | git-svn-id: https://svn.pengutronix.de/svn/ptxdist/trunks/ptxdist-trunk@8528 33e552b5-05e3-0310-8538-816dae2090ed
* * ptxdist: pull platform dependent part out of platformconfigJochen Frieling2008-06-161-59/+84
| | | | git-svn-id: https://svn.pengutronix.de/svn/ptxdist/trunks/ptxdist-trunk@8526 33e552b5-05e3-0310-8538-816dae2090ed
* * libptxdisttest.sh: added initial codeRobert Schwebel2008-06-061-0/+124
git-svn-id: https://svn.pengutronix.de/svn/ptxdist/trunks/ptxdist-trunk@8465 33e552b5-05e3-0310-8538-816dae2090ed