summaryrefslogtreecommitdiff
path: root/xargs/testsuite/xargs.sysv
diff options
context:
space:
mode:
Diffstat (limited to 'xargs/testsuite/xargs.sysv')
-rw-r--r--xargs/testsuite/xargs.sysv/e.exp1
-rw-r--r--xargs/testsuite/xargs.sysv/e.xo1
-rw-r--r--xargs/testsuite/xargs.sysv/eEOF.exp1
-rw-r--r--xargs/testsuite/xargs.sysv/eEOF.xo1
-rw-r--r--xargs/testsuite/xargs.sysv/empty-t.exp1
-rw-r--r--xargs/testsuite/xargs.sysv/empty-t.xe1
-rw-r--r--xargs/testsuite/xargs.sysv/empty-t.xo1
-rw-r--r--xargs/testsuite/xargs.sysv/empty_def-t.exp1
-rw-r--r--xargs/testsuite/xargs.sysv/empty_def-t.xe1
-rw-r--r--xargs/testsuite/xargs.sysv/empty_def-t.xo1
-rw-r--r--xargs/testsuite/xargs.sysv/eof1.exp1
-rw-r--r--xargs/testsuite/xargs.sysv/eof1.xo1
-rw-r--r--xargs/testsuite/xargs.sysv/iARG.exp1
-rw-r--r--xargs/testsuite/xargs.sysv/iARG.xo22
-rw-r--r--xargs/testsuite/xargs.sysv/idef-s26.exp1
-rw-r--r--xargs/testsuite/xargs.sysv/idef-s26.xo1
-rw-r--r--xargs/testsuite/xargs.sysv/idef.exp1
-rw-r--r--xargs/testsuite/xargs.sysv/idef.xo6
-rw-r--r--xargs/testsuite/xargs.sysv/iquotes.exp1
-rw-r--r--xargs/testsuite/xargs.sysv/iquotes.xo5
-rw-r--r--xargs/testsuite/xargs.sysv/l1.exp1
-rw-r--r--xargs/testsuite/xargs.sysv/l1.xo9
-rw-r--r--xargs/testsuite/xargs.sysv/l1_2.exp1
-rw-r--r--xargs/testsuite/xargs.sysv/l1_2.xo6
-rw-r--r--xargs/testsuite/xargs.sysv/l1n4.exp1
-rw-r--r--xargs/testsuite/xargs.sysv/l1n4.xo6
-rw-r--r--xargs/testsuite/xargs.sysv/lc_l2.exp1
-rw-r--r--xargs/testsuite/xargs.sysv/lc_l2.xo11
-rw-r--r--xargs/testsuite/xargs.sysv/s25-t.exp1
-rw-r--r--xargs/testsuite/xargs.sysv/s25-t.xe6
-rw-r--r--xargs/testsuite/xargs.sysv/s25-t.xo6
-rw-r--r--xargs/testsuite/xargs.sysv/space-t.exp1
-rw-r--r--xargs/testsuite/xargs.sysv/space-t.xe1
-rw-r--r--xargs/testsuite/xargs.sysv/space-t.xo1
-rw-r--r--xargs/testsuite/xargs.sysv/sv-bug-18713.exp1
-rw-r--r--xargs/testsuite/xargs.sysv/sv-bug-18713.xo7
-rw-r--r--xargs/testsuite/xargs.sysv/trace.exp1
-rw-r--r--xargs/testsuite/xargs.sysv/trace.xe2
-rw-r--r--xargs/testsuite/xargs.sysv/trace.xo2
39 files changed, 115 insertions, 0 deletions
diff --git a/xargs/testsuite/xargs.sysv/e.exp b/xargs/testsuite/xargs.sysv/e.exp
new file mode 100644
index 0000000..86c3af1
--- /dev/null
+++ b/xargs/testsuite/xargs.sysv/e.exp
@@ -0,0 +1 @@
+xargs_start p {-e} eof_.xi
diff --git a/xargs/testsuite/xargs.sysv/e.xo b/xargs/testsuite/xargs.sysv/e.xo
new file mode 100644
index 0000000..28a9314
--- /dev/null
+++ b/xargs/testsuite/xargs.sysv/e.xo
@@ -0,0 +1 @@
+one two _ three four
diff --git a/xargs/testsuite/xargs.sysv/eEOF.exp b/xargs/testsuite/xargs.sysv/eEOF.exp
new file mode 100644
index 0000000..8ac68aa
--- /dev/null
+++ b/xargs/testsuite/xargs.sysv/eEOF.exp
@@ -0,0 +1 @@
+xargs_start p {-eEOF} eofstr.xi
diff --git a/xargs/testsuite/xargs.sysv/eEOF.xo b/xargs/testsuite/xargs.sysv/eEOF.xo
new file mode 100644
index 0000000..7f4c1cd
--- /dev/null
+++ b/xargs/testsuite/xargs.sysv/eEOF.xo
@@ -0,0 +1 @@
+firstline secondline
diff --git a/xargs/testsuite/xargs.sysv/empty-t.exp b/xargs/testsuite/xargs.sysv/empty-t.exp
new file mode 100644
index 0000000..8047015
--- /dev/null
+++ b/xargs/testsuite/xargs.sysv/empty-t.exp
@@ -0,0 +1 @@
+xargs_start p {-t echo this plus that}
diff --git a/xargs/testsuite/xargs.sysv/empty-t.xe b/xargs/testsuite/xargs.sysv/empty-t.xe
new file mode 100644
index 0000000..ec9c43d
--- /dev/null
+++ b/xargs/testsuite/xargs.sysv/empty-t.xe
@@ -0,0 +1 @@
+echo this plus that
diff --git a/xargs/testsuite/xargs.sysv/empty-t.xo b/xargs/testsuite/xargs.sysv/empty-t.xo
new file mode 100644
index 0000000..b8e9a02
--- /dev/null
+++ b/xargs/testsuite/xargs.sysv/empty-t.xo
@@ -0,0 +1 @@
+this plus that
diff --git a/xargs/testsuite/xargs.sysv/empty_def-t.exp b/xargs/testsuite/xargs.sysv/empty_def-t.exp
new file mode 100644
index 0000000..2f1e9b9
--- /dev/null
+++ b/xargs/testsuite/xargs.sysv/empty_def-t.exp
@@ -0,0 +1 @@
+xargs_start p {-t}
diff --git a/xargs/testsuite/xargs.sysv/empty_def-t.xe b/xargs/testsuite/xargs.sysv/empty_def-t.xe
new file mode 100644
index 0000000..1aa4903
--- /dev/null
+++ b/xargs/testsuite/xargs.sysv/empty_def-t.xe
@@ -0,0 +1 @@
+echo
diff --git a/xargs/testsuite/xargs.sysv/empty_def-t.xo b/xargs/testsuite/xargs.sysv/empty_def-t.xo
new file mode 100644
index 0000000..8b13789
--- /dev/null
+++ b/xargs/testsuite/xargs.sysv/empty_def-t.xo
@@ -0,0 +1 @@
+
diff --git a/xargs/testsuite/xargs.sysv/eof1.exp b/xargs/testsuite/xargs.sysv/eof1.exp
new file mode 100644
index 0000000..ca178e8
--- /dev/null
+++ b/xargs/testsuite/xargs.sysv/eof1.exp
@@ -0,0 +1 @@
+xargs_start p {-E_} eof1.xi
diff --git a/xargs/testsuite/xargs.sysv/eof1.xo b/xargs/testsuite/xargs.sysv/eof1.xo
new file mode 100644
index 0000000..7f4c1cd
--- /dev/null
+++ b/xargs/testsuite/xargs.sysv/eof1.xo
@@ -0,0 +1 @@
+firstline secondline
diff --git a/xargs/testsuite/xargs.sysv/iARG.exp b/xargs/testsuite/xargs.sysv/iARG.exp
new file mode 100644
index 0000000..2e2ec75
--- /dev/null
+++ b/xargs/testsuite/xargs.sysv/iARG.exp
@@ -0,0 +1 @@
+xargs_start p {-iARG echo ARG is xARGx} files.xi
diff --git a/xargs/testsuite/xargs.sysv/iARG.xo b/xargs/testsuite/xargs.sysv/iARG.xo
new file mode 100644
index 0000000..f28510b
--- /dev/null
+++ b/xargs/testsuite/xargs.sysv/iARG.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.sysv/idef-s26.exp b/xargs/testsuite/xargs.sysv/idef-s26.exp
new file mode 100644
index 0000000..348661b
--- /dev/null
+++ b/xargs/testsuite/xargs.sysv/idef-s26.exp
@@ -0,0 +1 @@
+xargs_start f {-i -s26 echo from \{\} to x{}y} items.xi skip
diff --git a/xargs/testsuite/xargs.sysv/idef-s26.xo b/xargs/testsuite/xargs.sysv/idef-s26.xo
new file mode 100644
index 0000000..94f1e34
--- /dev/null
+++ b/xargs/testsuite/xargs.sysv/idef-s26.xo
@@ -0,0 +1 @@
+from dumb to xdumby
diff --git a/xargs/testsuite/xargs.sysv/idef.exp b/xargs/testsuite/xargs.sysv/idef.exp
new file mode 100644
index 0000000..78049fa
--- /dev/null
+++ b/xargs/testsuite/xargs.sysv/idef.exp
@@ -0,0 +1 @@
+xargs_start p {-i echo from \{\} to x{}y} items.xi
diff --git a/xargs/testsuite/xargs.sysv/idef.xo b/xargs/testsuite/xargs.sysv/idef.xo
new file mode 100644
index 0000000..a78e799
--- /dev/null
+++ b/xargs/testsuite/xargs.sysv/idef.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.sysv/iquotes.exp b/xargs/testsuite/xargs.sysv/iquotes.exp
new file mode 100644
index 0000000..43b8877
--- /dev/null
+++ b/xargs/testsuite/xargs.sysv/iquotes.exp
@@ -0,0 +1 @@
+xargs_start p {-i__ echo FIRST __ IS OK} quotes.xi
diff --git a/xargs/testsuite/xargs.sysv/iquotes.xo b/xargs/testsuite/xargs.sysv/iquotes.xo
new file mode 100644
index 0000000..10ce85c
--- /dev/null
+++ b/xargs/testsuite/xargs.sysv/iquotes.xo
@@ -0,0 +1,5 @@
+FIRST this is IS OK
+FIRST quoted stuff IS OK
+FIRST and
+an embedded newline IS OK
+FIRST with single quotes as well. IS OK
diff --git a/xargs/testsuite/xargs.sysv/l1.exp b/xargs/testsuite/xargs.sysv/l1.exp
new file mode 100644
index 0000000..5dbec2a
--- /dev/null
+++ b/xargs/testsuite/xargs.sysv/l1.exp
@@ -0,0 +1 @@
+xargs_start p {-l} ldata.xi
diff --git a/xargs/testsuite/xargs.sysv/l1.xo b/xargs/testsuite/xargs.sysv/l1.xo
new file mode 100644
index 0000000..b654880
--- /dev/null
+++ b/xargs/testsuite/xargs.sysv/l1.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.sysv/l1_2.exp b/xargs/testsuite/xargs.sysv/l1_2.exp
new file mode 100644
index 0000000..ffb6ad6
--- /dev/null
+++ b/xargs/testsuite/xargs.sysv/l1_2.exp
@@ -0,0 +1 @@
+xargs_start p {-l} ldatab.xi
diff --git a/xargs/testsuite/xargs.sysv/l1_2.xo b/xargs/testsuite/xargs.sysv/l1_2.xo
new file mode 100644
index 0000000..f9dc665
--- /dev/null
+++ b/xargs/testsuite/xargs.sysv/l1_2.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.sysv/l1n4.exp b/xargs/testsuite/xargs.sysv/l1n4.exp
new file mode 100644
index 0000000..4eef466
--- /dev/null
+++ b/xargs/testsuite/xargs.sysv/l1n4.exp
@@ -0,0 +1 @@
+xargs_start p {-l1 -n4} files.xi
diff --git a/xargs/testsuite/xargs.sysv/l1n4.xo b/xargs/testsuite/xargs.sysv/l1n4.xo
new file mode 100644
index 0000000..03f29b5
--- /dev/null
+++ b/xargs/testsuite/xargs.sysv/l1n4.xo
@@ -0,0 +1,6 @@
+/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.sysv/lc_l2.exp b/xargs/testsuite/xargs.sysv/lc_l2.exp
new file mode 100644
index 0000000..c50b16c
--- /dev/null
+++ b/xargs/testsuite/xargs.sysv/lc_l2.exp
@@ -0,0 +1 @@
+xargs_start p {-l2} files.xi
diff --git a/xargs/testsuite/xargs.sysv/lc_l2.xo b/xargs/testsuite/xargs.sysv/lc_l2.xo
new file mode 100644
index 0000000..0fa9424
--- /dev/null
+++ b/xargs/testsuite/xargs.sysv/lc_l2.xo
@@ -0,0 +1,11 @@
+/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.sysv/s25-t.exp b/xargs/testsuite/xargs.sysv/s25-t.exp
new file mode 100644
index 0000000..9199880
--- /dev/null
+++ b/xargs/testsuite/xargs.sysv/s25-t.exp
@@ -0,0 +1 @@
+xargs_start p {-s25 -t} stairs.xi
diff --git a/xargs/testsuite/xargs.sysv/s25-t.xe b/xargs/testsuite/xargs.sysv/s25-t.xe
new file mode 100644
index 0000000..5659900
--- /dev/null
+++ b/xargs/testsuite/xargs.sysv/s25-t.xe
@@ -0,0 +1,6 @@
+echo 1 22 333 4444 55555
+echo 666666 7777777
+echo 88888888 999999999
+echo 1 22 333 4444 55555
+echo 666666 7777777
+echo 88888888 999999999
diff --git a/xargs/testsuite/xargs.sysv/s25-t.xo b/xargs/testsuite/xargs.sysv/s25-t.xo
new file mode 100644
index 0000000..64ba7cb
--- /dev/null
+++ b/xargs/testsuite/xargs.sysv/s25-t.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.sysv/space-t.exp b/xargs/testsuite/xargs.sysv/space-t.exp
new file mode 100644
index 0000000..1d9c857
--- /dev/null
+++ b/xargs/testsuite/xargs.sysv/space-t.exp
@@ -0,0 +1 @@
+xargs_start p {-t echo this plus that} space.xi
diff --git a/xargs/testsuite/xargs.sysv/space-t.xe b/xargs/testsuite/xargs.sysv/space-t.xe
new file mode 100644
index 0000000..ec9c43d
--- /dev/null
+++ b/xargs/testsuite/xargs.sysv/space-t.xe
@@ -0,0 +1 @@
+echo this plus that
diff --git a/xargs/testsuite/xargs.sysv/space-t.xo b/xargs/testsuite/xargs.sysv/space-t.xo
new file mode 100644
index 0000000..b8e9a02
--- /dev/null
+++ b/xargs/testsuite/xargs.sysv/space-t.xo
@@ -0,0 +1 @@
+this plus that
diff --git a/xargs/testsuite/xargs.sysv/sv-bug-18713.exp b/xargs/testsuite/xargs.sysv/sv-bug-18713.exp
new file mode 100644
index 0000000..036d092
--- /dev/null
+++ b/xargs/testsuite/xargs.sysv/sv-bug-18713.exp
@@ -0,0 +1 @@
+xargs_start p {-n1 printf "@%s@\n"} empty.xi
diff --git a/xargs/testsuite/xargs.sysv/sv-bug-18713.xo b/xargs/testsuite/xargs.sysv/sv-bug-18713.xo
new file mode 100644
index 0000000..9225e36
--- /dev/null
+++ b/xargs/testsuite/xargs.sysv/sv-bug-18713.xo
@@ -0,0 +1,7 @@
+@foo@
+@@
+@bar@
+@baz@
+@@
+@@
+@fnord@
diff --git a/xargs/testsuite/xargs.sysv/trace.exp b/xargs/testsuite/xargs.sysv/trace.exp
new file mode 100644
index 0000000..c8364ff
--- /dev/null
+++ b/xargs/testsuite/xargs.sysv/trace.exp
@@ -0,0 +1 @@
+xargs_start p {-n2 -t echo } foobar.xi
diff --git a/xargs/testsuite/xargs.sysv/trace.xe b/xargs/testsuite/xargs.sysv/trace.xe
new file mode 100644
index 0000000..dfbe22e
--- /dev/null
+++ b/xargs/testsuite/xargs.sysv/trace.xe
@@ -0,0 +1,2 @@
+echo foo bar
+echo baz ugh
diff --git a/xargs/testsuite/xargs.sysv/trace.xo b/xargs/testsuite/xargs.sysv/trace.xo
new file mode 100644
index 0000000..171b5a3
--- /dev/null
+++ b/xargs/testsuite/xargs.sysv/trace.xo
@@ -0,0 +1,2 @@
+foo bar
+baz ugh