summaryrefslogtreecommitdiff
path: root/xargs/testsuite/xargs.posix
diff options
context:
space:
mode:
Diffstat (limited to 'xargs/testsuite/xargs.posix')
-rw-r--r--xargs/testsuite/xargs.posix/EEOF.exp1
-rw-r--r--xargs/testsuite/xargs.posix/EEOF.xo1
-rw-r--r--xargs/testsuite/xargs.posix/EEOFb.exp1
-rw-r--r--xargs/testsuite/xargs.posix/EEOFb.xo1
-rw-r--r--xargs/testsuite/xargs.posix/EEOFe.exp1
-rw-r--r--xargs/testsuite/xargs.posix/EEOFe.xo1
-rw-r--r--xargs/testsuite/xargs.posix/E_-IARG.exp1
-rw-r--r--xargs/testsuite/xargs.posix/E_-IARG.xo2
-rw-r--r--xargs/testsuite/xargs.posix/E_.exp1
-rw-r--r--xargs/testsuite/xargs.posix/E_.xo1
-rw-r--r--xargs/testsuite/xargs.posix/IARG-E_.exp1
-rw-r--r--xargs/testsuite/xargs.posix/IARG-E_.xo5
-rw-r--r--xargs/testsuite/xargs.posix/IARG-s15.exp1
-rw-r--r--xargs/testsuite/xargs.posix/IARG-s15.xo18
-rw-r--r--xargs/testsuite/xargs.posix/IARG.exp1
-rw-r--r--xargs/testsuite/xargs.posix/IARG.xo6
-rw-r--r--xargs/testsuite/xargs.posix/L2-n2.exp1
-rw-r--r--xargs/testsuite/xargs.posix/L2-n2.xo9
-rw-r--r--xargs/testsuite/xargs.posix/L2_2.exp1
-rw-r--r--xargs/testsuite/xargs.posix/L2_2.xo3
-rw-r--r--xargs/testsuite/xargs.posix/L3.exp1
-rw-r--r--xargs/testsuite/xargs.posix/L3.xo3
-rw-r--r--xargs/testsuite/xargs.posix/arg_max_32bit_linux_bug.exp13
-rw-r--r--xargs/testsuite/xargs.posix/arg_max_64bit_linux_bug.exp13
-rw-r--r--xargs/testsuite/xargs.posix/childfail.exp1
-rw-r--r--xargs/testsuite/xargs.posix/empty.exp1
-rw-r--r--xargs/testsuite/xargs.posix/empty.xo1
-rw-r--r--xargs/testsuite/xargs.posix/empty_def.exp1
-rw-r--r--xargs/testsuite/xargs.posix/empty_def.xo1
-rw-r--r--xargs/testsuite/xargs.posix/hithere.exp1
-rw-r--r--xargs/testsuite/xargs.posix/hithere.xo2
-rw-r--r--xargs/testsuite/xargs.posix/n1.exp1
-rw-r--r--xargs/testsuite/xargs.posix/n1.xo18
-rw-r--r--xargs/testsuite/xargs.posix/n2-s26-x.exp1
-rw-r--r--xargs/testsuite/xargs.posix/n2-s26-x.xo3
-rw-r--r--xargs/testsuite/xargs.posix/n2-s26.exp1
-rw-r--r--xargs/testsuite/xargs.posix/n2-s26.xo11
-rw-r--r--xargs/testsuite/xargs.posix/n2.exp1
-rw-r--r--xargs/testsuite/xargs.posix/n2.xo9
-rw-r--r--xargs/testsuite/xargs.posix/n3-s36.exp1
-rw-r--r--xargs/testsuite/xargs.posix/n3-s36.xo7
-rw-r--r--xargs/testsuite/xargs.posix/n3.exp1
-rw-r--r--xargs/testsuite/xargs.posix/n3.xo8
-rw-r--r--xargs/testsuite/xargs.posix/noeof.exp1
-rw-r--r--xargs/testsuite/xargs.posix/noeof.xo1
-rw-r--r--xargs/testsuite/xargs.posix/quotes.exp1
-rw-r--r--xargs/testsuite/xargs.posix/quotes.xo2
-rw-r--r--xargs/testsuite/xargs.posix/rc-123.exp1
-rw-r--r--xargs/testsuite/xargs.posix/rc-123.xo2
-rw-r--r--xargs/testsuite/xargs.posix/rc-124.exp1
-rw-r--r--xargs/testsuite/xargs.posix/rc-125.exp1
-rw-r--r--xargs/testsuite/xargs.posix/rc-126.exp1
-rw-r--r--xargs/testsuite/xargs.posix/rc-127.exp1
-rw-r--r--xargs/testsuite/xargs.posix/s118.exp1
-rw-r--r--xargs/testsuite/xargs.posix/s118.xo1
-rw-r--r--xargs/testsuite/xargs.posix/s19.exp1
-rw-r--r--xargs/testsuite/xargs.posix/s19.xo6
-rw-r--r--xargs/testsuite/xargs.posix/s19_2.exp1
-rw-r--r--xargs/testsuite/xargs.posix/s20.exp1
-rw-r--r--xargs/testsuite/xargs.posix/s20.xo14
-rw-r--r--xargs/testsuite/xargs.posix/s30.exp1
-rw-r--r--xargs/testsuite/xargs.posix/s30.xo6
-rw-r--r--xargs/testsuite/xargs.posix/s47.exp1
-rw-r--r--xargs/testsuite/xargs.posix/s47.xo18
-rw-r--r--xargs/testsuite/xargs.posix/s470.exp1
-rw-r--r--xargs/testsuite/xargs.posix/s470.xo2
-rw-r--r--xargs/testsuite/xargs.posix/s48.exp1
-rw-r--r--xargs/testsuite/xargs.posix/s48.xo22
-rw-r--r--xargs/testsuite/xargs.posix/s6.exp1
-rw-r--r--xargs/testsuite/xargs.posix/savannah-11865.exp1
-rw-r--r--xargs/testsuite/xargs.posix/savannah-11865.xo22
-rw-r--r--xargs/testsuite/xargs.posix/space-I.exp1
-rw-r--r--xargs/testsuite/xargs.posix/space.exp1
-rw-r--r--xargs/testsuite/xargs.posix/space.xo1
-rw-r--r--xargs/testsuite/xargs.posix/uc_L2.exp1
-rw-r--r--xargs/testsuite/xargs.posix/uc_L2.xo5
-rw-r--r--xargs/testsuite/xargs.posix/unmatched-n2-x.exp1
-rw-r--r--xargs/testsuite/xargs.posix/unmatched.exp1
-rw-r--r--xargs/testsuite/xargs.posix/unmatched.xo1
-rw-r--r--xargs/testsuite/xargs.posix/unmatched2.exp1
-rw-r--r--xargs/testsuite/xargs.posix/unmatched2.xo1
81 files changed, 284 insertions, 0 deletions
diff --git a/xargs/testsuite/xargs.posix/EEOF.exp b/xargs/testsuite/xargs.posix/EEOF.exp
new file mode 100644
index 0000000..4c976c4
--- /dev/null
+++ b/xargs/testsuite/xargs.posix/EEOF.exp
@@ -0,0 +1 @@
+xargs_start p {-E EOF} EOF.xi
diff --git a/xargs/testsuite/xargs.posix/EEOF.xo b/xargs/testsuite/xargs.posix/EEOF.xo
new file mode 100644
index 0000000..bd46cf2
--- /dev/null
+++ b/xargs/testsuite/xargs.posix/EEOF.xo
@@ -0,0 +1 @@
+one two
diff --git a/xargs/testsuite/xargs.posix/EEOFb.exp b/xargs/testsuite/xargs.posix/EEOFb.exp
new file mode 100644
index 0000000..8c92c4d
--- /dev/null
+++ b/xargs/testsuite/xargs.posix/EEOFb.exp
@@ -0,0 +1 @@
+xargs_start p {-E EOF} EOFb.xi
diff --git a/xargs/testsuite/xargs.posix/EEOFb.xo b/xargs/testsuite/xargs.posix/EEOFb.xo
new file mode 100644
index 0000000..1be0fd0
--- /dev/null
+++ b/xargs/testsuite/xargs.posix/EEOFb.xo
@@ -0,0 +1 @@
+one two bEOF three four
diff --git a/xargs/testsuite/xargs.posix/EEOFe.exp b/xargs/testsuite/xargs.posix/EEOFe.exp
new file mode 100644
index 0000000..33cb5bc
--- /dev/null
+++ b/xargs/testsuite/xargs.posix/EEOFe.exp
@@ -0,0 +1 @@
+xargs_start p {-E EOF} EOFe.xi
diff --git a/xargs/testsuite/xargs.posix/EEOFe.xo b/xargs/testsuite/xargs.posix/EEOFe.xo
new file mode 100644
index 0000000..06fe033
--- /dev/null
+++ b/xargs/testsuite/xargs.posix/EEOFe.xo
@@ -0,0 +1 @@
+one two EOFe three four
diff --git a/xargs/testsuite/xargs.posix/E_-IARG.exp b/xargs/testsuite/xargs.posix/E_-IARG.exp
new file mode 100644
index 0000000..f56c565
--- /dev/null
+++ b/xargs/testsuite/xargs.posix/E_-IARG.exp
@@ -0,0 +1 @@
+xargs_start p {-E_ -IARG echo from ARG to xARGy} eof_.xi
diff --git a/xargs/testsuite/xargs.posix/E_-IARG.xo b/xargs/testsuite/xargs.posix/E_-IARG.xo
new file mode 100644
index 0000000..bb56ab0
--- /dev/null
+++ b/xargs/testsuite/xargs.posix/E_-IARG.xo
@@ -0,0 +1,2 @@
+from one to xoney
+from two to xtwoy
diff --git a/xargs/testsuite/xargs.posix/E_.exp b/xargs/testsuite/xargs.posix/E_.exp
new file mode 100644
index 0000000..8edebbb
--- /dev/null
+++ b/xargs/testsuite/xargs.posix/E_.exp
@@ -0,0 +1 @@
+xargs_start p {-E_} eof_.xi
diff --git a/xargs/testsuite/xargs.posix/E_.xo b/xargs/testsuite/xargs.posix/E_.xo
new file mode 100644
index 0000000..bd46cf2
--- /dev/null
+++ b/xargs/testsuite/xargs.posix/E_.xo
@@ -0,0 +1 @@
+one two
diff --git a/xargs/testsuite/xargs.posix/IARG-E_.exp b/xargs/testsuite/xargs.posix/IARG-E_.exp
new file mode 100644
index 0000000..3a01b2c
--- /dev/null
+++ b/xargs/testsuite/xargs.posix/IARG-E_.exp
@@ -0,0 +1 @@
+xargs_start p {-IARG echo from ARG to xARGy -E_} eof_.xi
diff --git a/xargs/testsuite/xargs.posix/IARG-E_.xo b/xargs/testsuite/xargs.posix/IARG-E_.xo
new file mode 100644
index 0000000..7452a65
--- /dev/null
+++ b/xargs/testsuite/xargs.posix/IARG-E_.xo
@@ -0,0 +1,5 @@
+from one to xoney -E_
+from two to xtwoy -E_
+from _ to x_y -E_
+from three to xthreey -E_
+from four to xfoury -E_
diff --git a/xargs/testsuite/xargs.posix/IARG-s15.exp b/xargs/testsuite/xargs.posix/IARG-s15.exp
new file mode 100644
index 0000000..b237c0a
--- /dev/null
+++ b/xargs/testsuite/xargs.posix/IARG-s15.exp
@@ -0,0 +1 @@
+xargs_start p {-IARG -s15 echo ARG} stairs.xi
diff --git a/xargs/testsuite/xargs.posix/IARG-s15.xo b/xargs/testsuite/xargs.posix/IARG-s15.xo
new file mode 100644
index 0000000..c2a8cce
--- /dev/null
+++ b/xargs/testsuite/xargs.posix/IARG-s15.xo
@@ -0,0 +1,18 @@
+1
+22
+333
+4444
+55555
+666666
+7777777
+88888888
+999999999
+1
+22
+333
+4444
+55555
+666666
+7777777
+88888888
+999999999
diff --git a/xargs/testsuite/xargs.posix/IARG.exp b/xargs/testsuite/xargs.posix/IARG.exp
new file mode 100644
index 0000000..4856221
--- /dev/null
+++ b/xargs/testsuite/xargs.posix/IARG.exp
@@ -0,0 +1 @@
+xargs_start p {-IARG echo from ARG to xARGy} items.xi
diff --git a/xargs/testsuite/xargs.posix/IARG.xo b/xargs/testsuite/xargs.posix/IARG.xo
new file mode 100644
index 0000000..a78e799
--- /dev/null
+++ b/xargs/testsuite/xargs.posix/IARG.xo
@@ -0,0 +1,6 @@
+from dumb to xdumby
+from s s to xs s y
+from f f to xf f y
+from r r to xr r y
+from t t to xt t y
+from v v to xv v y
diff --git a/xargs/testsuite/xargs.posix/L2-n2.exp b/xargs/testsuite/xargs.posix/L2-n2.exp
new file mode 100644
index 0000000..88a939f
--- /dev/null
+++ b/xargs/testsuite/xargs.posix/L2-n2.exp
@@ -0,0 +1 @@
+xargs_start p {-L2 -n2} ldata.xi
diff --git a/xargs/testsuite/xargs.posix/L2-n2.xo b/xargs/testsuite/xargs.posix/L2-n2.xo
new file mode 100644
index 0000000..33d8177
--- /dev/null
+++ b/xargs/testsuite/xargs.posix/L2-n2.xo
@@ -0,0 +1,9 @@
+1 22
+333 4444
+55555 666666
+7777777 88888888
+999999999 1
+22 333
+4444 55555
+666666 7777777
+88888888 999999999
diff --git a/xargs/testsuite/xargs.posix/L2_2.exp b/xargs/testsuite/xargs.posix/L2_2.exp
new file mode 100644
index 0000000..7bc1153
--- /dev/null
+++ b/xargs/testsuite/xargs.posix/L2_2.exp
@@ -0,0 +1 @@
+xargs_start p {-L2} ldatab.xi
diff --git a/xargs/testsuite/xargs.posix/L2_2.xo b/xargs/testsuite/xargs.posix/L2_2.xo
new file mode 100644
index 0000000..f4e7123
--- /dev/null
+++ b/xargs/testsuite/xargs.posix/L2_2.xo
@@ -0,0 +1,3 @@
+1 22 333 4444 55555 666666 7777777 88888888 999999999 1 22
+333 4444 55555 666666 7777777
+88888888 999999999
diff --git a/xargs/testsuite/xargs.posix/L3.exp b/xargs/testsuite/xargs.posix/L3.exp
new file mode 100644
index 0000000..b4d8762
--- /dev/null
+++ b/xargs/testsuite/xargs.posix/L3.exp
@@ -0,0 +1 @@
+xargs_start p {-L3} ldata.xi
diff --git a/xargs/testsuite/xargs.posix/L3.xo b/xargs/testsuite/xargs.posix/L3.xo
new file mode 100644
index 0000000..2cb7fb3
--- /dev/null
+++ b/xargs/testsuite/xargs.posix/L3.xo
@@ -0,0 +1,3 @@
+1 22 333 4444 55555 666666 7777777
+88888888 999999999 1 22 333 4444 55555
+666666 7777777 88888888 999999999
diff --git a/xargs/testsuite/xargs.posix/arg_max_32bit_linux_bug.exp b/xargs/testsuite/xargs.posix/arg_max_32bit_linux_bug.exp
new file mode 100644
index 0000000..101c442
--- /dev/null
+++ b/xargs/testsuite/xargs.posix/arg_max_32bit_linux_bug.exp
@@ -0,0 +1,13 @@
+#
+# See message from Jim Meyering. <87hdaam57n.fsf_-_@rho.meyering.net>
+#
+# This is because Linux's execve implementation requires that the sum of
+# the sizes of all argument string pointers not exceed 128K (the actual
+# limit is ARG_MAX - sizeof (void*)). The difference between 32- and
+# 64-bit systems is because sizeof (void*) differs (4 vs. 8).
+#
+# Tue Nov 22 19:36:49 2005: Use 'true' rather than 'echo', otherwise the
+# differences in the value of ARG_MAX on various platforms will cause the
+# test to fail.
+xargs_start p { true } 32767-ys.xi
+
diff --git a/xargs/testsuite/xargs.posix/arg_max_64bit_linux_bug.exp b/xargs/testsuite/xargs.posix/arg_max_64bit_linux_bug.exp
new file mode 100644
index 0000000..84f2985
--- /dev/null
+++ b/xargs/testsuite/xargs.posix/arg_max_64bit_linux_bug.exp
@@ -0,0 +1,13 @@
+#
+# See message from Jim Meyering. <87hdaam57n.fsf_-_@rho.meyering.net>
+#
+# This is because Linux's execve implementation requires that the sum of
+# the sizes of all argument string pointers not exceed 128K (the actual
+# limit is ARG_MAX - sizeof (void*)). The difference between 32- and
+# 64-bit systems is because sizeof (void*) differs (4 vs. 8).
+#
+# Tue Nov 22 19:36:49 2005: Use 'true' rather than 'echo', otherwise the
+# differences in the value of ARG_MAX on various platforms will cause the
+# test to fail.
+xargs_start p { true } 16383-ys.xi
+
diff --git a/xargs/testsuite/xargs.posix/childfail.exp b/xargs/testsuite/xargs.posix/childfail.exp
new file mode 100644
index 0000000..d5cdacb
--- /dev/null
+++ b/xargs/testsuite/xargs.posix/childfail.exp
@@ -0,0 +1 @@
+xargs_start 123 { false } files.xi
diff --git a/xargs/testsuite/xargs.posix/empty.exp b/xargs/testsuite/xargs.posix/empty.exp
new file mode 100644
index 0000000..cfab826
--- /dev/null
+++ b/xargs/testsuite/xargs.posix/empty.exp
@@ -0,0 +1 @@
+xargs_start p {echo this plus that}
diff --git a/xargs/testsuite/xargs.posix/empty.xo b/xargs/testsuite/xargs.posix/empty.xo
new file mode 100644
index 0000000..b8e9a02
--- /dev/null
+++ b/xargs/testsuite/xargs.posix/empty.xo
@@ -0,0 +1 @@
+this plus that
diff --git a/xargs/testsuite/xargs.posix/empty_def.exp b/xargs/testsuite/xargs.posix/empty_def.exp
new file mode 100644
index 0000000..765c4bb
--- /dev/null
+++ b/xargs/testsuite/xargs.posix/empty_def.exp
@@ -0,0 +1 @@
+xargs_start p {}
diff --git a/xargs/testsuite/xargs.posix/empty_def.xo b/xargs/testsuite/xargs.posix/empty_def.xo
new file mode 100644
index 0000000..8b13789
--- /dev/null
+++ b/xargs/testsuite/xargs.posix/empty_def.xo
@@ -0,0 +1 @@
+
diff --git a/xargs/testsuite/xargs.posix/hithere.exp b/xargs/testsuite/xargs.posix/hithere.exp
new file mode 100644
index 0000000..0256d4b
--- /dev/null
+++ b/xargs/testsuite/xargs.posix/hithere.exp
@@ -0,0 +1 @@
+xargs_start p {-s470 echo hi there} files.xi
diff --git a/xargs/testsuite/xargs.posix/hithere.xo b/xargs/testsuite/xargs.posix/hithere.xo
new file mode 100644
index 0000000..0c6845b
--- /dev/null
+++ b/xargs/testsuite/xargs.posix/hithere.xo
@@ -0,0 +1,2 @@
+hi there /src/gnu/autoconf-1.11 /src/gnu/autoconf-1.11/README /src/gnu/autoconf-1.11/Makefile.in /src/gnu/autoconf-1.11/INSTALL /src/gnu/autoconf-1.11/NEWS /src/gnu/autoconf-1.11/COPYING /src/gnu/autoconf-1.11/ChangeLog /src/gnu/autoconf-1.11/autoconf.texi /src/gnu/autoconf-1.11/acconfig.h /src/gnu/autoconf-1.11/autoconf.sh /src/gnu/autoconf-1.11/acgeneral.m4 /src/gnu/autoconf-1.11/acspecific.m4 /src/gnu/autoconf-1.11/configure
+hi there /src/gnu/autoconf-1.11/configure.in /src/gnu/autoconf-1.11/autoheader.sh /src/gnu/autoconf-1.11/mkinstalldirs /src/gnu/autoconf-1.11/install.sh /src/gnu/autoconf-1.11/autoconf.info /src/gnu/autoconf-1.11/standards.texi /src/gnu/autoconf-1.11/make-stds.texi /src/gnu/autoconf-1.11/standards.info /src/gnu/autoconf-1.11/texinfo.tex
diff --git a/xargs/testsuite/xargs.posix/n1.exp b/xargs/testsuite/xargs.posix/n1.exp
new file mode 100644
index 0000000..40ddc9e
--- /dev/null
+++ b/xargs/testsuite/xargs.posix/n1.exp
@@ -0,0 +1 @@
+xargs_start p {-n1} stairs.xi
diff --git a/xargs/testsuite/xargs.posix/n1.xo b/xargs/testsuite/xargs.posix/n1.xo
new file mode 100644
index 0000000..c2a8cce
--- /dev/null
+++ b/xargs/testsuite/xargs.posix/n1.xo
@@ -0,0 +1,18 @@
+1
+22
+333
+4444
+55555
+666666
+7777777
+88888888
+999999999
+1
+22
+333
+4444
+55555
+666666
+7777777
+88888888
+999999999
diff --git a/xargs/testsuite/xargs.posix/n2-s26-x.exp b/xargs/testsuite/xargs.posix/n2-s26-x.exp
new file mode 100644
index 0000000..fd59c05
--- /dev/null
+++ b/xargs/testsuite/xargs.posix/n2-s26-x.exp
@@ -0,0 +1 @@
+xargs_start f {-n2 -s26 -x} stairs.xi skip
diff --git a/xargs/testsuite/xargs.posix/n2-s26-x.xo b/xargs/testsuite/xargs.posix/n2-s26-x.xo
new file mode 100644
index 0000000..7b6db82
--- /dev/null
+++ b/xargs/testsuite/xargs.posix/n2-s26-x.xo
@@ -0,0 +1,3 @@
+1 22
+333 4444
+55555 666666
diff --git a/xargs/testsuite/xargs.posix/n2-s26.exp b/xargs/testsuite/xargs.posix/n2-s26.exp
new file mode 100644
index 0000000..ba76660
--- /dev/null
+++ b/xargs/testsuite/xargs.posix/n2-s26.exp
@@ -0,0 +1 @@
+xargs_start p {-n2 -s26} stairs.xi
diff --git a/xargs/testsuite/xargs.posix/n2-s26.xo b/xargs/testsuite/xargs.posix/n2-s26.xo
new file mode 100644
index 0000000..a9e8dfa
--- /dev/null
+++ b/xargs/testsuite/xargs.posix/n2-s26.xo
@@ -0,0 +1,11 @@
+1 22
+333 4444
+55555 666666
+7777777
+88888888
+999999999 1
+22 333
+4444 55555
+666666 7777777
+88888888
+999999999
diff --git a/xargs/testsuite/xargs.posix/n2.exp b/xargs/testsuite/xargs.posix/n2.exp
new file mode 100644
index 0000000..6bcbad2
--- /dev/null
+++ b/xargs/testsuite/xargs.posix/n2.exp
@@ -0,0 +1 @@
+xargs_start p {-n2} stairs.xi
diff --git a/xargs/testsuite/xargs.posix/n2.xo b/xargs/testsuite/xargs.posix/n2.xo
new file mode 100644
index 0000000..33d8177
--- /dev/null
+++ b/xargs/testsuite/xargs.posix/n2.xo
@@ -0,0 +1,9 @@
+1 22
+333 4444
+55555 666666
+7777777 88888888
+999999999 1
+22 333
+4444 55555
+666666 7777777
+88888888 999999999
diff --git a/xargs/testsuite/xargs.posix/n3-s36.exp b/xargs/testsuite/xargs.posix/n3-s36.exp
new file mode 100644
index 0000000..00c80e9
--- /dev/null
+++ b/xargs/testsuite/xargs.posix/n3-s36.exp
@@ -0,0 +1 @@
+xargs_start p {-n3 -s36} stairs2.xi
diff --git a/xargs/testsuite/xargs.posix/n3-s36.xo b/xargs/testsuite/xargs.posix/n3-s36.xo
new file mode 100644
index 0000000..7484486
--- /dev/null
+++ b/xargs/testsuite/xargs.posix/n3-s36.xo
@@ -0,0 +1,7 @@
+999999999 88888888
+7777777 666666 55555
+4444 333 22
+1 999999999 88888888
+7777777 666666 55555
+4444 333 22
+1
diff --git a/xargs/testsuite/xargs.posix/n3.exp b/xargs/testsuite/xargs.posix/n3.exp
new file mode 100644
index 0000000..472b614
--- /dev/null
+++ b/xargs/testsuite/xargs.posix/n3.exp
@@ -0,0 +1 @@
+xargs_start p {-n3} files.xi
diff --git a/xargs/testsuite/xargs.posix/n3.xo b/xargs/testsuite/xargs.posix/n3.xo
new file mode 100644
index 0000000..e663e64
--- /dev/null
+++ b/xargs/testsuite/xargs.posix/n3.xo
@@ -0,0 +1,8 @@
+/src/gnu/autoconf-1.11 /src/gnu/autoconf-1.11/README /src/gnu/autoconf-1.11/Makefile.in
+/src/gnu/autoconf-1.11/INSTALL /src/gnu/autoconf-1.11/NEWS /src/gnu/autoconf-1.11/COPYING
+/src/gnu/autoconf-1.11/ChangeLog /src/gnu/autoconf-1.11/autoconf.texi /src/gnu/autoconf-1.11/acconfig.h
+/src/gnu/autoconf-1.11/autoconf.sh /src/gnu/autoconf-1.11/acgeneral.m4 /src/gnu/autoconf-1.11/acspecific.m4
+/src/gnu/autoconf-1.11/configure /src/gnu/autoconf-1.11/configure.in /src/gnu/autoconf-1.11/autoheader.sh
+/src/gnu/autoconf-1.11/mkinstalldirs /src/gnu/autoconf-1.11/install.sh /src/gnu/autoconf-1.11/autoconf.info
+/src/gnu/autoconf-1.11/standards.texi /src/gnu/autoconf-1.11/make-stds.texi /src/gnu/autoconf-1.11/standards.info
+/src/gnu/autoconf-1.11/texinfo.tex
diff --git a/xargs/testsuite/xargs.posix/noeof.exp b/xargs/testsuite/xargs.posix/noeof.exp
new file mode 100644
index 0000000..ad49437
--- /dev/null
+++ b/xargs/testsuite/xargs.posix/noeof.exp
@@ -0,0 +1 @@
+xargs_start p {} noeof.xi
diff --git a/xargs/testsuite/xargs.posix/noeof.xo b/xargs/testsuite/xargs.posix/noeof.xo
new file mode 100644
index 0000000..45f9997
--- /dev/null
+++ b/xargs/testsuite/xargs.posix/noeof.xo
@@ -0,0 +1 @@
+first second
diff --git a/xargs/testsuite/xargs.posix/quotes.exp b/xargs/testsuite/xargs.posix/quotes.exp
new file mode 100644
index 0000000..574e1ec
--- /dev/null
+++ b/xargs/testsuite/xargs.posix/quotes.exp
@@ -0,0 +1 @@
+xargs_start p {} quotes.xi
diff --git a/xargs/testsuite/xargs.posix/quotes.xo b/xargs/testsuite/xargs.posix/quotes.xo
new file mode 100644
index 0000000..9b6477f
--- /dev/null
+++ b/xargs/testsuite/xargs.posix/quotes.xo
@@ -0,0 +1,2 @@
+this is quoted stuff and
+an embedded newline with single quotes as well.
diff --git a/xargs/testsuite/xargs.posix/rc-123.exp b/xargs/testsuite/xargs.posix/rc-123.exp
new file mode 100644
index 0000000..217de0f
--- /dev/null
+++ b/xargs/testsuite/xargs.posix/rc-123.exp
@@ -0,0 +1 @@
+xargs_start 123 {-n1 -IARG sh -c ARG} ftt.xi
diff --git a/xargs/testsuite/xargs.posix/rc-123.xo b/xargs/testsuite/xargs.posix/rc-123.xo
new file mode 100644
index 0000000..1191247
--- /dev/null
+++ b/xargs/testsuite/xargs.posix/rc-123.xo
@@ -0,0 +1,2 @@
+1
+2
diff --git a/xargs/testsuite/xargs.posix/rc-124.exp b/xargs/testsuite/xargs.posix/rc-124.exp
new file mode 100644
index 0000000..4fe3aba
--- /dev/null
+++ b/xargs/testsuite/xargs.posix/rc-124.exp
@@ -0,0 +1 @@
+xargs_start 124 {-n1 -IARG sh -c ARG} ett.xi skip
diff --git a/xargs/testsuite/xargs.posix/rc-125.exp b/xargs/testsuite/xargs.posix/rc-125.exp
new file mode 100644
index 0000000..b80d1bf
--- /dev/null
+++ b/xargs/testsuite/xargs.posix/rc-125.exp
@@ -0,0 +1 @@
+xargs_start 125 {-n1 -IARG sh -c ARG} stt.xi skip
diff --git a/xargs/testsuite/xargs.posix/rc-126.exp b/xargs/testsuite/xargs.posix/rc-126.exp
new file mode 100644
index 0000000..17cb9f4
--- /dev/null
+++ b/xargs/testsuite/xargs.posix/rc-126.exp
@@ -0,0 +1 @@
+xargs_start 126 {/} {} skip
diff --git a/xargs/testsuite/xargs.posix/rc-127.exp b/xargs/testsuite/xargs.posix/rc-127.exp
new file mode 100644
index 0000000..8e4278a
--- /dev/null
+++ b/xargs/testsuite/xargs.posix/rc-127.exp
@@ -0,0 +1 @@
+xargs_start 127 {./missing} {} skip
diff --git a/xargs/testsuite/xargs.posix/s118.exp b/xargs/testsuite/xargs.posix/s118.exp
new file mode 100644
index 0000000..1f0fc9f
--- /dev/null
+++ b/xargs/testsuite/xargs.posix/s118.exp
@@ -0,0 +1 @@
+xargs_start p {-s118} stairs.xi
diff --git a/xargs/testsuite/xargs.posix/s118.xo b/xargs/testsuite/xargs.posix/s118.xo
new file mode 100644
index 0000000..06b617a
--- /dev/null
+++ b/xargs/testsuite/xargs.posix/s118.xo
@@ -0,0 +1 @@
+1 22 333 4444 55555 666666 7777777 88888888 999999999 1 22 333 4444 55555 666666 7777777 88888888 999999999
diff --git a/xargs/testsuite/xargs.posix/s19.exp b/xargs/testsuite/xargs.posix/s19.exp
new file mode 100644
index 0000000..86f9337
--- /dev/null
+++ b/xargs/testsuite/xargs.posix/s19.exp
@@ -0,0 +1 @@
+xargs_start f {-s19} stairs.xi skip
diff --git a/xargs/testsuite/xargs.posix/s19.xo b/xargs/testsuite/xargs.posix/s19.xo
new file mode 100644
index 0000000..afb3bc3
--- /dev/null
+++ b/xargs/testsuite/xargs.posix/s19.xo
@@ -0,0 +1,6 @@
+1 22 333
+4444
+55555
+666666
+7777777
+88888888
diff --git a/xargs/testsuite/xargs.posix/s19_2.exp b/xargs/testsuite/xargs.posix/s19_2.exp
new file mode 100644
index 0000000..be27aef
--- /dev/null
+++ b/xargs/testsuite/xargs.posix/s19_2.exp
@@ -0,0 +1 @@
+xargs_start f {-s19} stairs2.xi skip
diff --git a/xargs/testsuite/xargs.posix/s20.exp b/xargs/testsuite/xargs.posix/s20.exp
new file mode 100644
index 0000000..f87d441
--- /dev/null
+++ b/xargs/testsuite/xargs.posix/s20.exp
@@ -0,0 +1 @@
+xargs_start p {-s20} stairs.xi
diff --git a/xargs/testsuite/xargs.posix/s20.xo b/xargs/testsuite/xargs.posix/s20.xo
new file mode 100644
index 0000000..7f7032e
--- /dev/null
+++ b/xargs/testsuite/xargs.posix/s20.xo
@@ -0,0 +1,14 @@
+1 22 333
+4444
+55555
+666666
+7777777
+88888888
+999999999
+1 22 333
+4444
+55555
+666666
+7777777
+88888888
+999999999
diff --git a/xargs/testsuite/xargs.posix/s30.exp b/xargs/testsuite/xargs.posix/s30.exp
new file mode 100644
index 0000000..9faa71b
--- /dev/null
+++ b/xargs/testsuite/xargs.posix/s30.exp
@@ -0,0 +1 @@
+xargs_start p {-s30} stairs.xi
diff --git a/xargs/testsuite/xargs.posix/s30.xo b/xargs/testsuite/xargs.posix/s30.xo
new file mode 100644
index 0000000..64ba7cb
--- /dev/null
+++ b/xargs/testsuite/xargs.posix/s30.xo
@@ -0,0 +1,6 @@
+1 22 333 4444 55555
+666666 7777777
+88888888 999999999
+1 22 333 4444 55555
+666666 7777777
+88888888 999999999
diff --git a/xargs/testsuite/xargs.posix/s47.exp b/xargs/testsuite/xargs.posix/s47.exp
new file mode 100644
index 0000000..8f79b2a
--- /dev/null
+++ b/xargs/testsuite/xargs.posix/s47.exp
@@ -0,0 +1 @@
+xargs_start f {-s47} files.xi skip
diff --git a/xargs/testsuite/xargs.posix/s47.xo b/xargs/testsuite/xargs.posix/s47.xo
new file mode 100644
index 0000000..26eed8f
--- /dev/null
+++ b/xargs/testsuite/xargs.posix/s47.xo
@@ -0,0 +1,18 @@
+/src/gnu/autoconf-1.11
+/src/gnu/autoconf-1.11/README
+/src/gnu/autoconf-1.11/Makefile.in
+/src/gnu/autoconf-1.11/INSTALL
+/src/gnu/autoconf-1.11/NEWS
+/src/gnu/autoconf-1.11/COPYING
+/src/gnu/autoconf-1.11/ChangeLog
+/src/gnu/autoconf-1.11/autoconf.texi
+/src/gnu/autoconf-1.11/acconfig.h
+/src/gnu/autoconf-1.11/autoconf.sh
+/src/gnu/autoconf-1.11/acgeneral.m4
+/src/gnu/autoconf-1.11/acspecific.m4
+/src/gnu/autoconf-1.11/configure
+/src/gnu/autoconf-1.11/configure.in
+/src/gnu/autoconf-1.11/autoheader.sh
+/src/gnu/autoconf-1.11/mkinstalldirs
+/src/gnu/autoconf-1.11/install.sh
+/src/gnu/autoconf-1.11/autoconf.info
diff --git a/xargs/testsuite/xargs.posix/s470.exp b/xargs/testsuite/xargs.posix/s470.exp
new file mode 100644
index 0000000..5828ce6
--- /dev/null
+++ b/xargs/testsuite/xargs.posix/s470.exp
@@ -0,0 +1 @@
+xargs_start p {-s470} files.xi skip
diff --git a/xargs/testsuite/xargs.posix/s470.xo b/xargs/testsuite/xargs.posix/s470.xo
new file mode 100644
index 0000000..8107725
--- /dev/null
+++ b/xargs/testsuite/xargs.posix/s470.xo
@@ -0,0 +1,2 @@
+/src/gnu/autoconf-1.11 /src/gnu/autoconf-1.11/README /src/gnu/autoconf-1.11/Makefile.in /src/gnu/autoconf-1.11/INSTALL /src/gnu/autoconf-1.11/NEWS /src/gnu/autoconf-1.11/COPYING /src/gnu/autoconf-1.11/ChangeLog /src/gnu/autoconf-1.11/autoconf.texi /src/gnu/autoconf-1.11/acconfig.h /src/gnu/autoconf-1.11/autoconf.sh /src/gnu/autoconf-1.11/acgeneral.m4 /src/gnu/autoconf-1.11/acspecific.m4 /src/gnu/autoconf-1.11/configure /src/gnu/autoconf-1.11/configure.in
+/src/gnu/autoconf-1.11/autoheader.sh /src/gnu/autoconf-1.11/mkinstalldirs /src/gnu/autoconf-1.11/install.sh /src/gnu/autoconf-1.11/autoconf.info /src/gnu/autoconf-1.11/standards.texi /src/gnu/autoconf-1.11/make-stds.texi /src/gnu/autoconf-1.11/standards.info /src/gnu/autoconf-1.11/texinfo.tex
diff --git a/xargs/testsuite/xargs.posix/s48.exp b/xargs/testsuite/xargs.posix/s48.exp
new file mode 100644
index 0000000..506e77b
--- /dev/null
+++ b/xargs/testsuite/xargs.posix/s48.exp
@@ -0,0 +1 @@
+xargs_start p {-s48} files.xi
diff --git a/xargs/testsuite/xargs.posix/s48.xo b/xargs/testsuite/xargs.posix/s48.xo
new file mode 100644
index 0000000..5590252
--- /dev/null
+++ b/xargs/testsuite/xargs.posix/s48.xo
@@ -0,0 +1,22 @@
+/src/gnu/autoconf-1.11
+/src/gnu/autoconf-1.11/README
+/src/gnu/autoconf-1.11/Makefile.in
+/src/gnu/autoconf-1.11/INSTALL
+/src/gnu/autoconf-1.11/NEWS
+/src/gnu/autoconf-1.11/COPYING
+/src/gnu/autoconf-1.11/ChangeLog
+/src/gnu/autoconf-1.11/autoconf.texi
+/src/gnu/autoconf-1.11/acconfig.h
+/src/gnu/autoconf-1.11/autoconf.sh
+/src/gnu/autoconf-1.11/acgeneral.m4
+/src/gnu/autoconf-1.11/acspecific.m4
+/src/gnu/autoconf-1.11/configure
+/src/gnu/autoconf-1.11/configure.in
+/src/gnu/autoconf-1.11/autoheader.sh
+/src/gnu/autoconf-1.11/mkinstalldirs
+/src/gnu/autoconf-1.11/install.sh
+/src/gnu/autoconf-1.11/autoconf.info
+/src/gnu/autoconf-1.11/standards.texi
+/src/gnu/autoconf-1.11/make-stds.texi
+/src/gnu/autoconf-1.11/standards.info
+/src/gnu/autoconf-1.11/texinfo.tex
diff --git a/xargs/testsuite/xargs.posix/s6.exp b/xargs/testsuite/xargs.posix/s6.exp
new file mode 100644
index 0000000..a5a714f
--- /dev/null
+++ b/xargs/testsuite/xargs.posix/s6.exp
@@ -0,0 +1 @@
+xargs_start f {-s6} files.xi skip
diff --git a/xargs/testsuite/xargs.posix/savannah-11865.exp b/xargs/testsuite/xargs.posix/savannah-11865.exp
new file mode 100644
index 0000000..fa7d41a
--- /dev/null
+++ b/xargs/testsuite/xargs.posix/savannah-11865.exp
@@ -0,0 +1 @@
+xargs_start p {-iARG -s86 echo ARG is xARGx} files.xi
diff --git a/xargs/testsuite/xargs.posix/savannah-11865.xo b/xargs/testsuite/xargs.posix/savannah-11865.xo
new file mode 100644
index 0000000..f28510b
--- /dev/null
+++ b/xargs/testsuite/xargs.posix/savannah-11865.xo
@@ -0,0 +1,22 @@
+/src/gnu/autoconf-1.11 is x/src/gnu/autoconf-1.11x
+/src/gnu/autoconf-1.11/README is x/src/gnu/autoconf-1.11/READMEx
+/src/gnu/autoconf-1.11/Makefile.in is x/src/gnu/autoconf-1.11/Makefile.inx
+/src/gnu/autoconf-1.11/INSTALL is x/src/gnu/autoconf-1.11/INSTALLx
+/src/gnu/autoconf-1.11/NEWS is x/src/gnu/autoconf-1.11/NEWSx
+/src/gnu/autoconf-1.11/COPYING is x/src/gnu/autoconf-1.11/COPYINGx
+/src/gnu/autoconf-1.11/ChangeLog is x/src/gnu/autoconf-1.11/ChangeLogx
+/src/gnu/autoconf-1.11/autoconf.texi is x/src/gnu/autoconf-1.11/autoconf.texix
+/src/gnu/autoconf-1.11/acconfig.h is x/src/gnu/autoconf-1.11/acconfig.hx
+/src/gnu/autoconf-1.11/autoconf.sh is x/src/gnu/autoconf-1.11/autoconf.shx
+/src/gnu/autoconf-1.11/acgeneral.m4 is x/src/gnu/autoconf-1.11/acgeneral.m4x
+/src/gnu/autoconf-1.11/acspecific.m4 is x/src/gnu/autoconf-1.11/acspecific.m4x
+/src/gnu/autoconf-1.11/configure is x/src/gnu/autoconf-1.11/configurex
+/src/gnu/autoconf-1.11/configure.in is x/src/gnu/autoconf-1.11/configure.inx
+/src/gnu/autoconf-1.11/autoheader.sh is x/src/gnu/autoconf-1.11/autoheader.shx
+/src/gnu/autoconf-1.11/mkinstalldirs is x/src/gnu/autoconf-1.11/mkinstalldirsx
+/src/gnu/autoconf-1.11/install.sh is x/src/gnu/autoconf-1.11/install.shx
+/src/gnu/autoconf-1.11/autoconf.info is x/src/gnu/autoconf-1.11/autoconf.infox
+/src/gnu/autoconf-1.11/standards.texi is x/src/gnu/autoconf-1.11/standards.texix
+/src/gnu/autoconf-1.11/make-stds.texi is x/src/gnu/autoconf-1.11/make-stds.texix
+/src/gnu/autoconf-1.11/standards.info is x/src/gnu/autoconf-1.11/standards.infox
+/src/gnu/autoconf-1.11/texinfo.tex is x/src/gnu/autoconf-1.11/texinfo.texx
diff --git a/xargs/testsuite/xargs.posix/space-I.exp b/xargs/testsuite/xargs.posix/space-I.exp
new file mode 100644
index 0000000..69eb0b7
--- /dev/null
+++ b/xargs/testsuite/xargs.posix/space-I.exp
@@ -0,0 +1 @@
+xargs_start p {-IARG echo from ARG to xARGy} space.xi
diff --git a/xargs/testsuite/xargs.posix/space.exp b/xargs/testsuite/xargs.posix/space.exp
new file mode 100644
index 0000000..3ba833b
--- /dev/null
+++ b/xargs/testsuite/xargs.posix/space.exp
@@ -0,0 +1 @@
+xargs_start p {echo this plus that} space.xi
diff --git a/xargs/testsuite/xargs.posix/space.xo b/xargs/testsuite/xargs.posix/space.xo
new file mode 100644
index 0000000..b8e9a02
--- /dev/null
+++ b/xargs/testsuite/xargs.posix/space.xo
@@ -0,0 +1 @@
+this plus that
diff --git a/xargs/testsuite/xargs.posix/uc_L2.exp b/xargs/testsuite/xargs.posix/uc_L2.exp
new file mode 100644
index 0000000..8ad3dd7
--- /dev/null
+++ b/xargs/testsuite/xargs.posix/uc_L2.exp
@@ -0,0 +1 @@
+xargs_start p {-L2} ldata.xi
diff --git a/xargs/testsuite/xargs.posix/uc_L2.xo b/xargs/testsuite/xargs.posix/uc_L2.xo
new file mode 100644
index 0000000..7234702
--- /dev/null
+++ b/xargs/testsuite/xargs.posix/uc_L2.xo
@@ -0,0 +1,5 @@
+1 22 333 4444 55555 666666
+7777777 88888888
+999999999 1 22 333 4444 55555
+666666 7777777 88888888
+999999999
diff --git a/xargs/testsuite/xargs.posix/unmatched-n2-x.exp b/xargs/testsuite/xargs.posix/unmatched-n2-x.exp
new file mode 100644
index 0000000..720b48f
--- /dev/null
+++ b/xargs/testsuite/xargs.posix/unmatched-n2-x.exp
@@ -0,0 +1 @@
+xargs_start f {-n2 -x} unmatched.xi skip
diff --git a/xargs/testsuite/xargs.posix/unmatched.exp b/xargs/testsuite/xargs.posix/unmatched.exp
new file mode 100644
index 0000000..a98c920
--- /dev/null
+++ b/xargs/testsuite/xargs.posix/unmatched.exp
@@ -0,0 +1 @@
+xargs_start f {} unmatched.xi skip
diff --git a/xargs/testsuite/xargs.posix/unmatched.xo b/xargs/testsuite/xargs.posix/unmatched.xo
new file mode 100644
index 0000000..5626abf
--- /dev/null
+++ b/xargs/testsuite/xargs.posix/unmatched.xo
@@ -0,0 +1 @@
+one
diff --git a/xargs/testsuite/xargs.posix/unmatched2.exp b/xargs/testsuite/xargs.posix/unmatched2.exp
new file mode 100644
index 0000000..12b17f3
--- /dev/null
+++ b/xargs/testsuite/xargs.posix/unmatched2.exp
@@ -0,0 +1 @@
+xargs_start f {} unmatched2.xi skip
diff --git a/xargs/testsuite/xargs.posix/unmatched2.xo b/xargs/testsuite/xargs.posix/unmatched2.xo
new file mode 100644
index 0000000..5626abf
--- /dev/null
+++ b/xargs/testsuite/xargs.posix/unmatched2.xo
@@ -0,0 +1 @@
+one