From 6b88ce20a51800ff9de45bc4b6882fe3fafb16fa Mon Sep 17 00:00:00 2001 From: Alexander Kruppa <akruppa@gmail.com> Date: Tue, 25 Jun 2024 18:55:03 +0200 Subject: [PATCH] Update test to account for new error message --- test.ecm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test.ecm b/test.ecm index c7f515d2..2ababfa8 100755 --- a/test.ecm +++ b/test.ecm @@ -318,7 +318,7 @@ if [ $GMP_NUMB_BITS -eq 64 ]; then # exercise "read_s_from_file: 0 bytes read from <file>" error message printf "\r\n\r\n# this is a comment line and should be ignored\r\n" > test_dummy2.save $ECM -param 1 -bloads test_dummy2.save 1e6 < ${GMPECM_DATADIR}/c155; checkcode $? 1 - $ECM -param 1 -bloads test_dummy2.save 1e6 < ${GMPECM_DATADIR}/c155 2>&1 | grep "0 bytes read from test_dummy2.save"; checkcode $? 0 + $ECM -param 1 -bloads test_dummy2.save 1e6 < ${GMPECM_DATADIR}/c155 2>&1 | grep "Wrong magic number in file test_dummy2.save"; checkcode $? 0 /bin/rm -f test_dummy2.save fi -- GitLab