summaryrefslogtreecommitdiff
path: root/t/t3419-rebase-patch-id.sh
Commit message (Collapse)AuthorAgeFilesLines
* t3419: drop unnecessary NOT_EXPENSIVE pseudo-prerequisiteJunio C Hamano2014-06-091-14/+8
| | | | | | | | | | | | This was only necessary because do_tests helper the script defines took its parameters in a wrong order. Just pass an empty string (or not passing the optional EXPENSIVE prerequisite) when running the test with a light-weight set of parameters and have the shell do the right thing when parsing test_expect_success helper. Also update coding style while we are at it. Signed-off-by: Junio C Hamano <gitster@pobox.com>
* test: turn USR_BIN_TIME into a lazy prerequisiteJunio C Hamano2014-06-091-1/+0
| | | | | | | | Two test scripts (t3302 and t3419) had copy & paste code to set USR_BIN_TIME prerequisite. Use the test_lazy_prereq helper to define them in the common t/test-lib.sh. Signed-off-by: Junio C Hamano <gitster@pobox.com>
* test: fix '&&' chainingRamkumar Ramachandra2011-12-081-1/+1
| | | | | | | | | | Breaks in a test assertion's && chain can potentially hide failures from earlier commands in the chain by adding " &&" at the end of line to the commands that need them. Signed-off-by: Ramkumar Ramachandra <artagnon@gmail.com> Acked-by: Jonathan Nieder <jrnieder@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
* t3419-*.sh: Fix arithmetic expansion syntax errorRamsay Jones2010-12-211-2/+2
| | | | | | | | | | | | | Some shells, for example dash versions older than 0.5.4, need to spell a variable reference as '$N' rather than 'N' in an arithmetic expansion. In order to avoid the syntax error, we change the offending variable reference from 'i' to '$i' in function scramble. There is nothing bash specific to this test script (and we shouldn't have any bash dependent test). Fix its shebang line. Signed-off-by: Ramsay Jones <ramsay@ramsay1.demon.co.uk> Signed-off-by: Junio C Hamano <gitster@pobox.com>
* add rebase patch id testsClemens Buchacher2010-09-231-0/+109
Signed-off-by: Clemens Buchacher <drizzd@aon.at> Signed-off-by: Junio C Hamano <gitster@pobox.com>