Skip to content

fix tests so they run without needing bash

Eric Wong git 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest4 patches 12 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4t3300-funny-names: shell portability fixest/t3300-funny-names.sh+33 -180 replies
2/4tests: Remove heredoc usage inside quotest/t2101-update-index-reupdate.sh t/t4012-diff-binary.sh+31 -342 replies
3/4t5500-fetch-pack: remove local (bashism) usage.t/t5500-fetch-pack.sh+15 -154 replies
4/4t6000lib: workaround a possible dash bugt/t6000lib.sh+3 -14 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/4] fix tests so they run without needing bash

I've tested these patches with bash, pdksh, and dash. dash seems to be 7s faster than bash (28s vs 35s) when running `make test', and just a hair faster than pdksh.

Herbert:
patches #2 and #4 are required for dash, but not for pdksh. I'm not sure about #2, but I'm pretty certain the problem #4 works around is a bug in dash.

[PATCH 1/4] t3300-funny-names: shell portability fixes [PATCH 2/4] tests: Remove heredoc usage inside quotes [PATCH 3/4] t5500-fetch-pack: remove local (bashism) usage. [PATCH 4/4] t6000lib: workaround a possible dash bug

Signature · 1 line
Eric Wong