Skip to content

Commit

Permalink
ChmodTaskTest: remove creation of extra "chmodtest" file so that tear…
Browse files Browse the repository at this point in the history
…Down() can delete the directory

The "chmodtest" file had no purpose for the test. It was probably just copy-pasted from different test case. When the file was present inside the "A" directory it was not possible clean it up because the directory has only "r" permission after finishing the test (therefore files inside the directory cannot be removed).
  • Loading branch information
sustmi committed Apr 16, 2017
1 parent 4affafd commit 8bfa31a
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion test/etc/tasks/system/ChmodTaskTest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@

<target name="testChangeModeDirSet">
<mkdir dir="${tmp.dir}/A"/>
<touch file="${tmp.dir}/A/chmodtest"/>
<chmod mode="0400">
<dirset dir="${tmp.dir}">
<include name="A"/>
Expand Down

0 comments on commit 8bfa31a

Please sign in to comment.