Skip to content

Commit

Permalink
'Ze fixes
Browse files Browse the repository at this point in the history
Signed-off-by: Elijah Newren <newren@gmail.com>
  • Loading branch information
newren committed Jul 7, 2024
1 parent 1577810 commit b54d0b8
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion t/t9391-filter-repo-lib-usage.sh
Original file line number Diff line number Diff line change
Expand Up @@ -205,7 +205,7 @@ test_expect_success 'lint-history' '
)
'

test_expect_success 'lint-history --refs' '
test_expect_success !WINDOWS 'lint-history --refs' '
test_create_repo lint-history-only-some-refs &&
(
cd lint-history-only-some-refs &&
Expand Down
6 changes: 4 additions & 2 deletions t/test-lib.sh
Original file line number Diff line number Diff line change
Expand Up @@ -1207,7 +1207,7 @@ yes () {
done
}

# Fix some commands on Windows
# Fix some commands on Windows, and other OS-specific things
uname_s=$(uname -s)
case $uname_s in
*MINGW*)
Expand All @@ -1229,14 +1229,16 @@ case $uname_s in
test_set_prereq NATIVE_CRLF
test_set_prereq SED_STRIPS_CR
test_set_prereq GREP_STRIPS_CR
GIT_TEST_CMP=mingw_test_cmp
test_set_prereq WINDOWS
GIT_TEST_CMP="GIT_DIR=/dev/null git diff --no-index --ignore-cr-at-eol --"
;;
*CYGWIN*)
test_set_prereq POSIXPERM
test_set_prereq EXECKEEPSPID
test_set_prereq CYGWIN
test_set_prereq SED_STRIPS_CR
test_set_prereq GREP_STRIPS_CR
test_set_prereq WINDOWS
;;
*)
test_set_prereq POSIXPERM
Expand Down

0 comments on commit b54d0b8

Please sign in to comment.