]> git.ipfire.org Git - thirdparty/git.git/commit - t/t3700-add.sh
t3700: merge two tests into one
authorIngo Brückl <ib@wupperonline.de>
Sat, 30 Jul 2016 20:13:48 +0000 (22:13 +0200)
committerJunio C Hamano <gitster@pobox.com>
Mon, 1 Aug 2016 21:20:53 +0000 (14:20 -0700)
commitb38ab197c2842733c6a9cddd88900fc67d6ce945
treea4a735ed76d1e2c86c4cf88a4af93631c466d2dc
parentc0fa44d8f1ed211e4e0edbe6bef4697b36b9bacc
t3700: merge two tests into one

Depending on the underlying platform a chmod may be a noop. Although it
wouldn't harm the result of the '--chmod=-x' test, there is a more
robust way to make sure the --chmod option works both ways.

Merge the two separate tests for the --chmod option into one, checking
both permissions on the same file.

Signed-off-by: Ingo Brückl <ib@wupperonline.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/t3700-add.sh