NPAR TESTS: Accept .313 instead of .312 for point probability in SIGN test.
authorBen Pfaff <blp@cs.stanford.edu>
Mon, 15 Nov 2010 05:16:29 +0000 (21:16 -0800)
committerBen Pfaff <blp@cs.stanford.edu>
Mon, 15 Nov 2010 05:16:29 +0000 (21:16 -0800)
Reported by Jeremy Lavergne <jeremy@lavergne.gotdns.org> on bug-gnu-pspp.
Also reported by bojo42@gmail.com in bug #31611.

tests/language/stats/npar.at

index dd8ddf29e387753ccecab24e39b12b9b3bbadd6e..57193c00685249db3f24bbbbf8e064bc6144a422 100644 (file)
@@ -610,7 +610,9 @@ npar tests
        .
 ])
 AT_CHECK([pspp -o pspp.csv npar.sps])
-AT_CHECK([cat pspp.csv], [0], [dnl
+dnl Some machines return .313 instead of .312 for the Point Probability
+dnl (see bug #31611).
+AT_CHECK([sed 's/\.313$/.312/' pspp.csv], [0], [dnl
 Table: Frequencies
 ,,N
 height - age,Negative Differences,1