regress/cmdline/common.sh


Log

Author Commit Date CI Message
Stefan Sperling 78caff98 2021-09-30T08:24:01 explicitly set the default branch name after 'git init' in regress tests We need to do this because newer versions of Git support an arbitrary default branch name which can be set by users. We don't want tests to fail when this option is used. pointed out by Thomas Adam
Stefan Sperling f0fd0aaf 2021-09-14T19:21:59 make 'got send' regression tests run 'git fsck' on all involved repositories
Stefan Sperling e600f124 2021-03-21T19:09:35 ensure that old commits remain referenced after rebase and histedit Create automatic "backup" references which ensure that objects from the pre-rebase or pre-histedit state remain in the repository. A new -l option for 'got rebase' and 'got histedit' lists old commits. This makes it easier to recover from botched rebase or histedit operations. Removal of such objects currently requires got ref -d and git-gc. This will be made more convenient in the future. testing and ok jrick
Stefan Sperling 54c39596 2020-12-28T17:38:34 use POSIX [s1 = s2] syntax instead of [s1 == s2]; patch by Ryo ONODERA
Christian Weisgerber 6c8da0c6 2020-10-03T19:14:53 rewrite argument parsing with the POSIX getopts shell built-in ok stsp
Stefan Sperling e5a14fe3 2020-10-01T20:52:11 missed one case while changing $() to `` (found by rczlonka)
Stefan Sperling 743f0d3e 2020-10-01T20:52:11 add quotes around $GOT_TEST_ROOT and avoid mktemp -p; suggested by naddy
Stefan Sperling 11f4fa81 2020-10-01T20:52:11 allow regress test data to be stored in locations other than /tmp
Christian Weisgerber 9439a990 2020-09-16T20:37:41 replace ksh syntax with POSIX arithmetic expressions ok kn stsp
Christian Weisgerber f6cae3ed 2020-09-13T14:05:17 switch function declarations from Korn shell to Bourne/POSIX shell syntax ok stsp
Stefan Sperling 7fb414ae 2020-08-08T07:34:47 add a -q option to tests for quiet output and use it for 'make regress' Previous default output remains when test cases are run individually. ok tracey
Stefan Sperling e8863bdc 2020-07-23T14:22:33 add symlink support to 'got import'
Stefan Sperling e7303626 2020-05-14T19:27:44 add submodule tests ok semarie
Stefan Sperling 70551d57 2020-04-24T16:23:39 add a test for rebase file index corruption problem fix in previous commit ok tracey
Stefan Sperling c8c71e6e 2020-03-21T17:28:30 add tests for 'got clone' and 'got fetch'; requires 'ssh 127.0.0.1' to work
Stefan Sperling db32465d 2020-02-07T18:02:56 add a test for bug fixed in a0975128
Stefan Sperling 5aa81393 2020-01-06T19:38:23 add copyright year for files already touched in 2020
Stefan Sperling b32c4525 2020-01-05T19:19:59 make it possible to run regress tests with packed repositories
Stefan Sperling 8e7bd50a 2019-08-22T22:20:56 initial implementation of 'got tag' command
Stefan Sperling 01073a5d 2019-08-22T14:17:38 initial 'got cat' implementation
Stefan Sperling 0b2899f8 2019-08-18T11:26:15 attribute commits created with git(1) in test suite to Flan Hacker
Stefan Sperling bcb49d15 2019-08-15T00:07:22 make 'got blame' show dates at which lines were last modified
Stefan Sperling 82f6abb8 2019-08-14T23:37:07 make 'got blame' show committer names
Stefan Sperling b1ebc001 2019-08-13T23:54:01 add GOT_LOG_DEFAULT_LIMIT env var for setting a got log -l default
Stefan Sperling 003cc5a3 2019-08-09T01:04:33 use a fake persona for GOT_AUTHOR; git can get confused by 'Charlie &'
Stefan Sperling 3ce1b845 2019-07-14T18:59:53 initial 'got import' implementation
Stefan Sperling 17201126 2019-07-14T15:06:20 show xfail test result before running 'git fsck'
Stefan Sperling fe7842f5 2019-07-14T15:04:58 run 'git fsck' after every cmdline test
Stefan Sperling 818c7501 2019-07-10T18:23:39 initial 'got rebase' implementation
Stefan Sperling 03415a1a 2019-06-02T20:31:34 allow 'got cherrypick' with a root commit (adds all files in commit)
Stefan Sperling 3941b73a 2019-05-14T11:30:38 allow cmdline tests to report test result 'xfail' (expected failure)
Stefan Sperling 7b67836a 2019-05-10T18:45:27 run tests with MALLOC_OPTIONS=S
Stefan Sperling 83a7ae6d 2019-05-10T18:38:59 revert previous
Stefan Sperling 3ffe981f 2019-05-10T18:38:23 fix tree_entry_dup error path
Stefan Sperling c3754a5b 2019-05-10T17:30:26 make GOT_AUTHOR available to all cmdline tests
Stefan Sperling 4a1ddfc2 2019-01-12T22:15:58 fix bug where update forgot to create a parent directory
Stefan Sperling 512f0d0e 2019-01-03T00:57:49 make 'got update' remove files which were deleted
Stefan Sperling 370629d7 2019-01-02T18:41:45 make successful cmdline test output match that of other tests
Stefan Sperling 9c4b8182 2019-01-02T16:11:39 print new base commit ID when update is done
Stefan Sperling 0e673013 2019-01-02T15:42:46 add a command line test suite with a simple 'got checkout' test