From: Friedrich Beckmann Date: Sun, 29 Nov 2015 15:50:00 +0000 (+0100) Subject: osx: Test 605 (QUICK CLUSTER with pairwise missing) failed on Mac OS X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;ds=sidebyside;h=69e4fa8dcb51547a192d0786ce89d66b1595535f;p=pspp osx: Test 605 (QUICK CLUSTER with pairwise missing) failed on Mac OS 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. --- diff --git a/tests/language/stats/quick-cluster.at b/tests/language/stats/quick-cluster.at index ee64902387..e8135d7471 100644 --- a/tests/language/stats/quick-cluster.at +++ b/tests/language/stats/quick-cluster.at @@ -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])