Skip to content

Commit

Permalink
Fix a test for musl
Browse files Browse the repository at this point in the history
  • Loading branch information
rui314 committed Jul 1, 2022
1 parent 3b75398 commit 14392e7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions test/elf/preinit-array.sh
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ cd "$(dirname "$0")"/../..
t=out/test/elf/$testname
mkdir -p $t

echo 'int main() {}' | $CC -o $t/exe -xc -
readelf --dynamic $t/exe | grep -q ld-musl && { echo skipped; exit; }

[ $MACHINE = x86_64 ] || { echo skipped; exit; }
Expand Down

0 comments on commit 14392e7

Please sign in to comment.