Skip to content

Commit

Permalink
chore(ci): inspect stat of unecpected permissions
Browse files Browse the repository at this point in the history
  • Loading branch information
lidel committed Aug 14, 2024
1 parent 60fd454 commit 2e8afc0
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion test/sharness/t0047-add-mode-mtime.sh
Original file line number Diff line number Diff line change
Expand Up @@ -290,8 +290,10 @@ test_directory() {
'

test_expect_success "can recursively preserve mode and modification time [$1]" '
set -x
set -x &&
test "700:$DIR_TIME" = "$(stat -c "%a:%Y" "$TESTDIR")" &&
id &&
stat "$TESTDIR/dir2/sub1/sub2/file3" &&
test "644:$((DIR_TIME+10))" = "$(stat -c "%a:%Y" "$TESTDIR/dir2/sub1/sub2/file3")" &&
test "777:$((DIR_TIME+20))" = "$(stat -c "%a:%Y" "$TESTDIR/dir2/sub1/link1")" &&
test "755:$((DIR_TIME+30))" = "$(stat -c "%a:%Y" "$TESTDIR/dir2/sub1/sub2")" &&
Expand Down

0 comments on commit 2e8afc0

Please sign in to comment.