X-Git-Url: https://gitweb.ps.run/ps-cgit/blobdiff_plain/2122c696a34133a616b9ec6d72abe9eb89e728aa..b44b02a98253e78334f7fd13d9c4e1eb59562392:/tests/setup.sh diff --git a/tests/setup.sh b/tests/setup.sh index 51d5a75..5f20286 100755 --- a/tests/setup.sh +++ b/tests/setup.sh @@ -54,7 +54,9 @@ summary-tags=5 repo.url=foo repo.path=$PWD/trash/repos/foo/.git -repo.desc=the foo repo +# Do not specify a description for this repo, as it then will be assigned +# the constant value "[no description]" (which actually used to cause a +# segfault). repo.url=bar repo.path=$PWD/trash/repos/bar/.git @@ -89,10 +91,10 @@ run_test() res=$? if test $res = 0 then - printf " %s: ok - %s\n" $test_count "$desc" + printf " %2d) %-60s [ok]\n" $test_count "$desc" else ((test_failed++)) - printf " %s: fail - %s\n" $test_count "$desc" + printf " %2d) %-60s [failed]\n" $test_count "$desc" fi }