t3700-add: create subdirectory gently
authorJohannes Sixt <redacted>
Tue, 20 Sep 2016 06:16:11 +0000 (08:16 +0200)
committerJunio C Hamano <redacted>
Wed, 21 Sep 2016 18:05:35 +0000 (11:05 -0700)
commitb07ad46432aa4fd80e8ebbcc48d38ec94ae20b01
treec74fa41a2691077c7fb05c8c42e6bba91c5f6b24
parent610d55af0f082f6b866dc858e144c03d8ed4424c
t3700-add: create subdirectory gently

The subdirectory 'sub' is created early in the test file. Later, a test
case removes it during its clean-up actions. However, this test case is
protected by POSIXPERM. Consequently, 'sub' remains when the POSIXPERM
prerequisite is not satisfied. Later, a recently introduced test case
creates 'sub' again. Use -p with mkdir so that it does not fail if 'sub'
already exists.

Signed-off-by: Johannes Sixt <redacted>
Signed-off-by: Junio C Hamano <redacted>
t/t3700-add.sh
git clone https://git.99rst.org/PROJECT