Skip to content

Commit ca322a8

Browse files
committed
Use gstat if available
1 parent c263792 commit ca322a8

File tree

2 files changed

+5
-6
lines changed

2 files changed

+5
-6
lines changed

.github/workflows/test.yml

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -45,12 +45,6 @@ jobs:
4545
mingw-w64-x86_64-gcc
4646
make
4747
48-
- name: Install GNU coreutils (macOS)
49-
if: runner.os == 'macOS'
50-
run: |
51-
brew install coreutils
52-
echo "$(brew --prefix coreutils)/libexec/gnubin" >> $GITHUB_PATH
53-
5448
- name: Run ${{ matrix.suite }}
5549
if: runner.os == 'Windows'
5650
shell: msys2 {0}

test/run.sh

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,11 @@ run()
44
instfile=`mktemp Installer.tmp.XXXXXX`
55
echo $1 > $instfile
66

7+
which gstat > /dev/null 2>&1
8+
if [ $? -eq 0 ]; then
9+
alias stat='gstat'
10+
fi
11+
712
which valgrind > /dev/null 2>&1
813
if [ $? -eq 0 ] && [ -z "${LG_SMOKE}" ]; then
914
l=`mktemp leak.tmp.XXXXXX`

0 commit comments

Comments
 (0)