Skip to content

Commit

Permalink
Merge pull request #208 from mbland/fix-fileutil-create-dirs-msys2
Browse files Browse the repository at this point in the history
tests/fileutil/create-dirs: Skip test on MSYS2
  • Loading branch information
mbland authored Sep 4, 2017
2 parents cab4509 + f08342a commit a06e295
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
4 changes: 1 addition & 3 deletions tests/fileutil/copy-files-safely.bats
Original file line number Diff line number Diff line change
Expand Up @@ -112,9 +112,7 @@ teardown() {

run ls -ld "$DEST_DIR/"{,foo}
assert_success
assert_lines_match \
"^drwx-w--wx .* $DEST_DIR/*$" \
"^--w------- .* $DEST_DIR/foo\$"
assert_lines_match '^drwx-w--wx' '^--w-------'
}

@test "$SUITE: logs FATAL if copy fails" {
Expand Down
1 change: 1 addition & 0 deletions tests/fileutil/create-dirs.bats
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,7 @@ assert_dirs_created() {
}

@test "$SUITE: permissions don't change if directory already exists" {
skip_if_cannot_trigger_file_permission_failure
mkdir -p "$TEST_GO_ROOTDIR/foo"
chmod 700 "$TEST_GO_ROOTDIR/foo"

Expand Down

0 comments on commit a06e295

Please sign in to comment.