Files
macports-ports/math/cmh/files/patch-test.diff

19 lines
523 B
Diff

--- tests/test.sh.orig 2021-02-06 00:21:58.000000000 +0700
+++ tests/test.sh 2022-12-29 04:15:06.000000000 +0700
@@ -5,13 +5,13 @@
}
clean_up
-$CMH_BINDIR/../scripts/cmh-classpol.sh -f -p -c 13 3
+../scripts/cmh-classpol.sh -f -p -c 13 3
if test $? -ne 0 ; then
echo "Error when executing the cmh-classpol.sh script."
exit 1
fi
-cmp 157_13_3.pol $CMH_TESTDIR/example.pol
+cmp 157_13_3.pol ./example.pol
if test $? -ne 0 ; then
echo "Wrong polynomial computed by the cmh-classpol.sh script."
exit 1