File tree Expand file tree Collapse file tree 2 files changed +3
-1
lines changed
Expand file tree Collapse file tree 2 files changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -180,7 +180,7 @@ test_run build -v --no-build test:exe Test:static Test:shared \
180180test_restored () {
181181 target=" $1 " ; shift
182182 art=" $( $LAKE query $target ) "
183- hardlinks=" $( stat -c %h " $art " ) "
183+ hardlinks=" $( stat_ch " $art " ) "
184184 echo " ! artifact cached (links: $hardlinks ): $target -> $art "
185185 test ! " $( norm_dirname " $art " ) " = " $CACHE_DIR /artifacts"
186186 test $hardlinks -gt 1 # check that the restored artifact is hard linked
Original file line number Diff line number Diff line change 3131
3232if [ " $UNAME " = Darwin ] || [ " $UNAME " = FreeBSD ]; then
3333 sed_i () { sed -i ' ' " $@ " ; }
34+ stat_ch () { stat -f %l -- " $1 " ; }
3435 TAIL=gtail
3536else
3637 sed_i () { sed -i " $@ " ; }
38+ stat_ch () { stat -c %h -- " $1 " ; }
3739 TAIL=tail
3840fi
3941
You can’t perform that action at this time.
0 commit comments