Skip to content
This repository was archived by the owner on Feb 1, 2023. It is now read-only.

Commit 526d15c

Browse files
committed
fix buggy tests in #29445 and in #29494
1 parent 249fc90 commit 526d15c

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

build/pkgs/pari/spkg-configure.m4

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -74,8 +74,8 @@ SAGE_SPKG_CONFIGURE([pari], [
7474
sage_spkg_install_pari=yes
7575
fi
7676
AC_MSG_CHECKING([whether hyperellcharpoly bug is fixed])
77-
bug_check=$(echo "hyperellcharpoly([x^10 + x^9 + x^8 + x,0]*Mod(1,3))" | $GP -qf 2>> config.log)
78-
expected="%1 = x^8 + 731*x^7 + 6*x^6 - 720*x^5 + 18*x^4 - 2160*x^3 + 54*x^2 + 19737*x + 81"
77+
bug_check=`echo "hyperellcharpoly(Mod(1,3)*(x^10 + x^9 + x^8 + x))" | $GP -qf 2>> config.log`
78+
expected="x^8 + 2*x^7 + 6*x^6 + 9*x^5 + 18*x^4 + 27*x^3 + 54*x^2 + 54*x + 81"
7979
if test x"$bug_check" = x"$expected"; then
8080
AC_MSG_RESULT([yes])
8181
else
@@ -85,7 +85,7 @@ SAGE_SPKG_CONFIGURE([pari], [
8585
sage_spkg_install_pari=yes
8686
fi
8787
AC_MSG_CHECKING([whether bnfisunit bug of pari 2.11.3 is fixed])
88-
bug_check=$(echo "bnf = bnfinit(y^4-y-1); bnfisunit(bnf,-y^3+2*y^2-1)" | $GP -qf 2>> config.log)
88+
bug_check=`echo "bnf = bnfinit(y^4-y-1); bnfisunit(bnf,-y^3+2*y^2-1)" | $GP -qf 2>> config.log`
8989
expected="[[0, 2, Mod(0, 2)]]~"
9090
if test x"$bug_check" = x"$expected"; then
9191
AC_MSG_RESULT([yes])

0 commit comments

Comments
 (0)