Skip to content

Commit

Permalink
fix: sudo is overkill
Browse files Browse the repository at this point in the history
Signed-off-by: Yoan Blanc <yoan.blanc@chuv.ch>
  • Loading branch information
greut committed May 3, 2024
1 parent bf768cb commit d9ab5e7
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions test/run_pytest_cli.bats
Original file line number Diff line number Diff line change
Expand Up @@ -20,5 +20,5 @@ setup() {
}

@test 'delete BIDS dataset created by tests' {
rm -r ${PROJET_TMP_FOLDER}/${DATASET_NAME}
}
rm -rf ${PROJET_TMP_FOLDER}/${DATASET_NAME}
}
2 changes: 1 addition & 1 deletion test/test_dataset_cleanup.bats
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,6 @@ setup() {
}

@test "Teardown tmp folder" {
sudo rm -rf ${PROJET_TMP_FOLDER}
rm -rf ${PROJET_TMP_FOLDER}
}

0 comments on commit d9ab5e7

Please sign in to comment.