Index: /tags/ipp-unions-20250528/Ohana/src/opihi/pcontrol/test/basic.sh
===================================================================
--- /tags/ipp-unions-20250528/Ohana/src/opihi/pcontrol/test/basic.sh	(revision 42896)
+++ /tags/ipp-unions-20250528/Ohana/src/opihi/pcontrol/test/basic.sh	(revision 42896)
@@ -0,0 +1,42 @@
+# we are having trouble with pcontrol -> pclient comms with very long lines (> 512)
+# this seems to be a problem with readline buffering
+
+# generate jobs with very long lines
+# XXX this must be run as the only pass in pcontrol (to get the JobIDs right)
+
+$localhost = `hostname`
+
+macro init
+  host add $localhost
+
+  $inline1 = abcdefghijklmnopqrstuvwxyz
+end
+
+macro mkjobs
+  if ($0 != 2)
+    echo "mkjobs (N)"
+    break
+  end
+  
+  for i 0 $1
+    job echo $inline1
+  end
+
+  # stdout $i -var outline
+end
+
+macro check.jobs
+  if ($0 != 2)
+    echo "check.jobs (N)"
+    break
+  end
+
+  output tmp.txt
+  for i 1 $1
+    check job $i
+  end
+  output stdout
+
+  pcstats
+end
+
