Commit Briefs

5e91dae4dd Stefan Sperling

remove trailing whitespace; patch by Josiah Frentsos


a19f439c4e Omar Polo

don't pass $ret to test_done on failure when it's known to be zero

Otherwise the test directory it's not left in place; ok tracey@


49c543a6fe Christian Weisgerber

use test(1) -eq and -ne to compare integers, and reduce quoting

This brings the rest of the regression test scripts in line with patch.sh.


81a197017a Christian Weisgerber

ref.sh: fix pastos and report the actual command that was run


a966211500 Christian Weisgerber

add missing "return 1" to failure handling in the regress scripts

ok stsp@



57c1819858 Stefan Sperling

validate reference names in open_ref()

This catches invalid reference names passed to 'got ref -l' and will also be needed to validate reference names passed to a future 'gotadmin pack' command. ok naddy@



48cae60d0a Stefan Sperling

make dangling symbolic references show up in 'got ref -l'

Storing a resolved ID for each reference list item was a bad idea. This ID cannot be resolved if a symbolic references points to a reference which does not exist. Such symrefs were skipped by got ref -l as a result. Just let users of reference lists resolve the IDs as needed.



f6cae3ed1e Christian Weisgerber

switch function declarations from Korn shell to Bourne/POSIX shell syntax

ok stsp


7fb414ae4d Stefan Sperling

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







a009df9284 Stefan Sperling

fix typo in comment



d1c1ae5fa6 Stefan Sperling

introduce 'got ref -s' and add two tests for 'got ref'