Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/master' into static-binary
Browse files Browse the repository at this point in the history
  • Loading branch information
btlogy committed Jun 13, 2024
2 parents 2eeee75 + 4513156 commit 92d96b1
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/go.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,12 +58,12 @@ jobs:
- name: Test binary
id: test_binary
run: |
# Run some basic test on the binary built earlier
echo -n "Test for a static executable: "
ldd ../trac2gitea | grep -q 'not a dynamic executable' \
# some basic tests on the binary built earlier
echo -n "Test for a static executable... "
ldd ./trac2gitea 2>&1 | grep -q 'not a dynamic executable' \
&& echo PASS \
|| { echo FAIL; exit 1; }
echo -n "Test for usage prompt on execution: "
echo -n "Test for usage prompt on execution... "
./trac2gitea --help 2>&1 | grep -q '^Usage' \
&& echo 'PASS' \
|| { echo 'FAIL'; exit 1; }

0 comments on commit 92d96b1

Please sign in to comment.