Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/workflows/check-docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ on:
workflow_dispatch:

concurrency:
group: pages
cancel-in-progress: false
group: docs-${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: ${{ github.ref != 'refs/heads/main' }}

jobs:
build:
Expand Down
4 changes: 2 additions & 2 deletions tests/acceptance/install_test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -233,7 +233,7 @@ fi
case "$INSTALL_TEST_DOWNLOAD_RESULT" in
failure) printf 'partial download\n' >"$target"; exit 22 ;;
empty) : >"$target" ;;
*) printf 'new binary\n' >"$target" ;;
*) printf '#!/bin/sh\nexit 0\n' >"$target" ;;
esac
SH
chmod +x shims/curl
Expand All @@ -249,7 +249,7 @@ SH

if [ "$result" = success ]; then
assert_successful_code "" "" "$status"
assert_same 'new binary' "$(cat destination/bashunit)"
assert_same "$(printf '#!/bin/sh\nexit 0')" "$(cat destination/bashunit)"
assert_is_file_executable destination/bashunit
assert_not_empty "$(find destination/bashunit -perm 0744 -print)"
else
Expand Down
Loading