summaryrefslogtreecommitdiffstats
path: root/tests
Commit message (Collapse)AuthorAgeFilesLines
* [ptxdist] fix exclude pattern while building environmentLuotao Fu2010-03-182-2/+4
| | | | | | | | | The exclude pattern in the scripts for barebox/uboot-v2 environment creation is broken. It will include the config.in template file and all backup files in Emacs or vim style. Fix this so that we won't find things like /env/bin/config.in or /env/config.in~ on the target after running "test setenv" Signed-off-by: Luotao Fu <l.fu@pengutronix.de>
* [ptxdist] fix speed setting in test script libraryLuotao Fu2010-03-181-0/+1
| | | | | | | Setting speed is missing if the serial port is a telnet port. This will fail if the serial port daemon requires speed settings, e.g. moxa. Signed-off-by: Luotao Fu <l.fu@pengutronix.de>
* [ptxdist] relocate setenv config file parsing codeLuotao Fu2010-02-252-25/+24
| | | | | | | | remove the config parsing part from make_barebox_env and put into the main setenv script to make the code more clear. Also updated some comments to make clear how the stuff works. Signed-off-by: Luotao Fu <l.fu@pengutronix.de>
* [ptxdist] add barebox environment directoryLuotao Fu2010-02-242-23/+57
| | | | | | | we now no longer search for barebox environment in u-boot-env in BSP. Instead we have our own environment directory called barebox-env. Signed-off-by: Luotao Fu <l.fu@pengutronix.de>
* [ptxdist] add environment image generation for bareboxLuotao Fu2010-02-242-1/+23
| | | | | | | | ptxdist now can tell if the target has a barebox or u-boot-v2 bootloader running and calls, depending on this information, the proper script to generate a environment image for the target. Signed-off-by: Luotao Fu <l.fu@pengutronix.de>
* [ptxdist] fix environment fetching with bareboxLuotao Fu2010-02-241-1/+7
| | | | Signed-off-by: Luotao Fu <l.fu@pengutronix.de>
* [ptxdist] fix bootloader signature matchingLuotao Fu2010-02-241-9/+18
| | | | | | | | The bootloader signature mapping does noet get along with barebox and had a off-by-one error. Also change the output text from "U-Boot" to more generic "Bootloader" to avoid confusion. Signed-off-by: Luotao Fu <l.fu@pengutronix.de>
* * kermit-wrapper: support a custom libptxdisttest.kermit in the workspaceWolfram Sang2009-07-061-3/+6
| | | | git-svn-id: https://svn.pengutronix.de/svn/ptxdist/trunks/ptxdist-trunk@10945 33e552b5-05e3-0310-8538-816dae2090ed
* * libptxdist.kermit: add simple exec-routine for userlandWolfram Sang2009-07-061-0/+16
| | | | git-svn-id: https://svn.pengutronix.de/svn/ptxdist/trunks/ptxdist-trunk@10944 33e552b5-05e3-0310-8538-816dae2090ed
* * libptxdist.kermit: initialize uboot-version-variableWolfram Sang2009-07-061-0/+3
| | | | git-svn-id: https://svn.pengutronix.de/svn/ptxdist/trunks/ptxdist-trunk@10943 33e552b5-05e3-0310-8538-816dae2090ed
* * tests: use correct wrapper in setenvWolfram Sang2009-05-291-1/+1
| | | | git-svn-id: https://svn.pengutronix.de/svn/ptxdist/trunks/ptxdist-trunk@10607 33e552b5-05e3-0310-8538-816dae2090ed
* * tests: allow '-' in env-variablenamesWolfram Sang2009-05-181-2/+2
| | | | git-svn-id: https://svn.pengutronix.de/svn/ptxdist/trunks/ptxdist-trunk@10539 33e552b5-05e3-0310-8538-816dae2090ed
* * tests: - add 20yy.m to u-boot v1 signaturesWolfram Sang2009-05-181-9/+10
| | | | | | | - relax match for u-boot v2 results, because of EOL confusions git-svn-id: https://svn.pengutronix.de/svn/ptxdist/trunks/ptxdist-trunk@10538 33e552b5-05e3-0310-8538-816dae2090ed
* tests/setenv: print errors to user screenWolfram Sang2009-05-181-2/+2
| | | | git-svn-id: https://svn.pengutronix.de/svn/ptxdist/trunks/ptxdist-trunk@10536 33e552b5-05e3-0310-8538-816dae2090ed
* 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
* * add platform suffix to uboot env templateLuotao Fu2009-01-291-6/+14
| | | | | | | * make filepaths whitespace safe git-svn-id: https://svn.pengutronix.de/svn/ptxdist/trunks/ptxdist-trunk@9683 33e552b5-05e3-0310-8538-816dae2090ed
* * tests: let boot wait longer in case of generating keys (interim fix)Wolfram Sang2009-01-291-1/+1
| | | | git-svn-id: https://svn.pengutronix.de/svn/ptxdist/trunks/ptxdist-trunk@9677 33e552b5-05e3-0310-8538-816dae2090ed
* * tests: handle weird CRs from U-Boot-V1Wolfram Sang2009-01-291-3/+5
| | | | git-svn-id: https://svn.pengutronix.de/svn/ptxdist/trunks/ptxdist-trunk@9676 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
* * tests: find more errors during flashWolfram Sang2009-01-192-2/+4
| | | | git-svn-id: https://svn.pengutronix.de/svn/ptxdist/trunks/ptxdist-trunk@9587 33e552b5-05e3-0310-8538-816dae2090ed
* * tests: do not match substrings in test-scriptsWolfram Sang2009-01-162-2/+2
| | | | git-svn-id: https://svn.pengutronix.de/svn/ptxdist/trunks/ptxdist-trunk@9555 33e552b5-05e3-0310-8538-816dae2090ed
* * tests: better error message for the userWolfram Sang2009-01-141-2/+2
| | | | git-svn-id: https://svn.pengutronix.de/svn/ptxdist/trunks/ptxdist-trunk@9544 33e552b5-05e3-0310-8538-816dae2090ed
* * tests: improve usefulness of logfileWolfram Sang2009-01-142-1/+2
| | | | git-svn-id: https://svn.pengutronix.de/svn/ptxdist/trunks/ptxdist-trunk@9543 33e552b5-05e3-0310-8538-816dae2090ed
* * tests: - add check if connecting to telnet-port was successfulWolfram Sang2009-01-141-1/+2
| | | | | | | - change "All OK!" message as it was said to be senseless and bad English git-svn-id: https://svn.pengutronix.de/svn/ptxdist/trunks/ptxdist-trunk@9542 33e552b5-05e3-0310-8538-816dae2090ed
* * tests: work around u-boot v1's "repeat last command" annoyanceWolfram Sang2009-01-141-0/+4
| | | | git-svn-id: https://svn.pengutronix.de/svn/ptxdist/trunks/ptxdist-trunk@9541 33e552b5-05e3-0310-8538-816dae2090ed
* * tests: wait for own output to appear in input buffer (makes waiting for ↵Wolfram Sang2009-01-092-7/+11
| | | | | | | | | events more robust) * tests: small whitespace removal git-svn-id: https://svn.pengutronix.de/svn/ptxdist/trunks/ptxdist-trunk@9468 33e552b5-05e3-0310-8538-816dae2090ed
* * tests: fix typo; now reset colors to default not to blackWolfram Sang2008-12-171-1/+1
| | | | git-svn-id: https://svn.pengutronix.de/svn/ptxdist/trunks/ptxdist-trunk@9232 33e552b5-05e3-0310-8538-816dae2090ed
* * tests: give larger eeproms more time to save environmentWolfram Sang2008-12-111-1/+1
| | | | git-svn-id: https://svn.pengutronix.de/svn/ptxdist/trunks/ptxdist-trunk@9214 33e552b5-05e3-0310-8538-816dae2090ed
* * tests: use another macro in setenv.kermitWolfram Sang2008-12-011-4/+1
| | | | git-svn-id: https://svn.pengutronix.de/svn/ptxdist/trunks/ptxdist-trunk@9170 33e552b5-05e3-0310-8538-816dae2090ed
* * tests: show console output if invoked with --debugWolfram Sang2008-11-141-10/+20
| | | | | | | * tests: add colors to output git-svn-id: https://svn.pengutronix.de/svn/ptxdist/trunks/ptxdist-trunk@9116 33e552b5-05e3-0310-8538-816dae2090ed
* * tests: kermit discards user-configWolfram Sang2008-11-142-1/+3
| | | | | | | * tests: make ptx_uboot_exec more robust git-svn-id: https://svn.pengutronix.de/svn/ptxdist/trunks/ptxdist-trunk@9114 33e552b5-05e3-0310-8538-816dae2090ed
* * tests: improve errormessages in kwrapperWolfram Sang2008-11-141-13/+9
| | | | git-svn-id: https://svn.pengutronix.de/svn/ptxdist/trunks/ptxdist-trunk@9112 33e552b5-05e3-0310-8538-816dae2090ed
* * tests: add boot and connectWolfram Sang2008-11-114-0/+25
| | | | | | | | * tests: add possibility to use rfc2217 as serial (comport-over-telnet) * ckermit: use latest version and patch for moxa git-svn-id: https://svn.pengutronix.de/svn/ptxdist/trunks/ptxdist-trunk@9104 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
* * tests: make setenv more robustWolfram Sang2008-10-312-5/+7
| | | | git-svn-id: https://svn.pengutronix.de/svn/ptxdist/trunks/ptxdist-trunk@9010 33e552b5-05e3-0310-8538-816dae2090ed
* * tests: bugfix scriptsWolfram Sang2008-10-302-6/+6
| | | | git-svn-id: https://svn.pengutronix.de/svn/ptxdist/trunks/ptxdist-trunk@9005 33e552b5-05e3-0310-8538-816dae2090ed
* * tests: further updatesWolfram Sang2008-10-306-43/+94
| | | | git-svn-id: https://svn.pengutronix.de/svn/ptxdist/trunks/ptxdist-trunk@8998 33e552b5-05e3-0310-8538-816dae2090ed
* * tests: updates to setenvWolfram Sang2008-10-301-8/+11
| | | | git-svn-id: https://svn.pengutronix.de/svn/ptxdist/trunks/ptxdist-trunk@8995 33e552b5-05e3-0310-8538-816dae2090ed
* * tests: unification of setenv for U-Boot V1 and V2Wolfram Sang2008-10-298-174/+65
| | | | git-svn-id: https://svn.pengutronix.de/svn/ptxdist/trunks/ptxdist-trunk@8993 33e552b5-05e3-0310-8538-816dae2090ed
* * preapre unification of setenv for u-boot v1 and v2Wolfram Sang2008-10-274-108/+181
| | | | git-svn-id: https://svn.pengutronix.de/svn/ptxdist/trunks/ptxdist-trunk@8955 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
* * setenv.test, setenv.u-boot-v2.kermit:Marc Kleine-Budde2008-10-052-0/+114
| | | | | | | u-boot-v2 tests git-svn-id: https://svn.pengutronix.de/svn/ptxdist/trunks/ptxdist-trunk@8912 33e552b5-05e3-0310-8538-816dae2090ed
* * kwrapper:Marc Kleine-Budde2008-10-051-18/+27
| | | | | | | cleanups git-svn-id: https://svn.pengutronix.de/svn/ptxdist/trunks/ptxdist-trunk@8911 33e552b5-05e3-0310-8538-816dae2090ed