Description: fix test to take account of larger page sizes on ppc64el
 The test_default_wait/TestDefaultWait test assume that a single read
 can definatly switch a "full" pipe to one which will poll writable.  The
 kernel optimises for IO size by delaying the writable status until a
 complete buffer slot is available; these are the system page.  The test
 already exhibits this by using large IOs compared to the common 4K page
 size, but this is not sufficient in the face of the 64K page sizes on
 ppc64el.  Up this to 64k which represents the biggest page size available
 in the kernel.
Author: Andy Whitcroft <apw@canonical.com>
Last-Update: 2014-04-29

--- ruby-kgio-2.9.2.orig/test/test_default_wait.rb
+++ ruby-kgio-2.9.2/test/test_default_wait.rb
@@ -39,7 +39,11 @@ class TestDefaultWait < Test::Unit::Test
     diff = Time.now - t0
     assert_in_delta diff, 1.1, 0.2
 
-    a.kgio_read(16384)
+    # Read enough to ensure one kernel buffer is cleared
+    # to ensure that poll et al will start saying we have
+    # enough space to allow a write.  This should be at
+    # least the largest system page size we support.
+    a.kgio_read(65536)
     assert_equal b, b.kgio_wait_writable(1.1)
   end
 end
