Package: git
Followup-For: Bug #976354
The test scripts include test-lib.sh, which deliberately assumes bash.
# checkbashisms test-lib.sh
possible bashism in test-lib.sh line 381 ($BASH_SOMETHING):
if test -n "$BASH_VERSION" && eval '
This part happens to work for other shells, but the comments around it
suggest that the intent is only to check the bash version.
possible bashism in test-lib.sh line 1491 (builtin):
builtin pwd -W
The 'builtin' builtin only exists in bash.
So I suggest to apply Bastian’s suggestion:
# sed -i '1 s_^#!/bin/sh$_#!/bin/bash_' t/t*.sh