]> git.ipfire.org Git - thirdparty/git.git/commit
Fix false positives in t3404 due to SHELL=/bin/false
authorRobin H. Johnson <robbat2@gentoo.org>
Mon, 27 Dec 2010 08:03:43 +0000 (08:03 +0000)
committerJunio C Hamano <gitster@pobox.com>
Tue, 28 Dec 2010 19:22:16 +0000 (11:22 -0800)
commit5cd3e10737135163f47e97e0338dbf33f4772511
treefff3e0f9c595f702a10457a142a9076d5523ec2c
parent26517dea245cc6332ffb80cf7747f6c211aa2e4d
Fix false positives in t3404 due to SHELL=/bin/false

If the user's shell in NSS passwd is /bin/false (eg as found during Gentoo's
package building), the git-rebase exec tests will fail, because they call
$SHELL around the command, and in the existing testcase, $SHELL was not being
cleared sufficently.

This lead to false positive failures of t3404 on systems where the package
build user was locked down as noted above.

Signed-off-by: "Robin H. Johnson" <robbat2@gentoo.org>
X-Gentoo-Bug: 349083
X-Gentoo-Bug-URL: http://bugs.gentoo.org/show_bug.cgi?id=349083
Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/t3404-rebase-interactive.sh