osx: Test 605 (QUICK CLUSTER with pairwise missing) failed on Mac OS
authorFriedrich Beckmann <friedrich.beckmann@gmx.de>
Sun, 29 Nov 2015 15:50:00 +0000 (16:50 +0100)
committerFriedrich Beckmann <friedrich.beckmann@gmx.de>
Sun, 29 Nov 2015 15:57:32 +0000 (16:57 +0100)
The uses head -n -3 to check the top number of lines of two files. On osx
negative line numbers are not allowed with head. I changed this to the
respective number of positive line numbers.

tests/language/stats/quick-cluster.at

index ee64902387a70eb3d3e771129873a42d117c7e4b..e8135d7471269167bb33f67ba5ffba1e562db180 100644 (file)
@@ -211,8 +211,8 @@ QUICK CLUSTER x y
 
 AT_CHECK([pspp -O format=csv quick-pw.sps  > pspp-pw.csv])
 
-AT_CHECK([head -n -3  pspp-s.csv > top-s.csv])
-AT_CHECK([head -n -3  pspp-pw.csv > top-pw.csv])
+AT_CHECK([head -n 18  pspp-s.csv > top-s.csv])
+AT_CHECK([head -n 18  pspp-pw.csv > top-pw.csv])
 AT_CHECK([diff top-s.csv top-pw.csv])