diff options
Diffstat (limited to 'testsuite/paste')
| -rw-r--r-- | testsuite/paste/paste-long-short | 19 | ||||
| -rw-r--r-- | testsuite/paste/paste-short-long | 19 |
2 files changed, 38 insertions, 0 deletions
diff --git a/testsuite/paste/paste-long-short b/testsuite/paste/paste-long-short new file mode 100644 index 000000000..e626d730e --- /dev/null +++ b/testsuite/paste/paste-long-short | |||
| @@ -0,0 +1,19 @@ | |||
| 1 | cat > foo <<EOF | ||
| 2 | foo1 | ||
| 3 | foo2 | ||
| 4 | foo3 | ||
| 5 | EOF | ||
| 6 | |||
| 7 | cat > bar <<EOF | ||
| 8 | bar1 | ||
| 9 | bar2 | ||
| 10 | EOF | ||
| 11 | |||
| 12 | cat > baz <<EOF | ||
| 13 | foo1 bar1 | ||
| 14 | foo2 bar2 | ||
| 15 | foo3 | ||
| 16 | EOF | ||
| 17 | |||
| 18 | busybox paste foo bar > qux | ||
| 19 | diff -u baz qux | ||
diff --git a/testsuite/paste/paste-short-long b/testsuite/paste/paste-short-long new file mode 100644 index 000000000..785da60a7 --- /dev/null +++ b/testsuite/paste/paste-short-long | |||
| @@ -0,0 +1,19 @@ | |||
| 1 | cat > foo <<EOF | ||
| 2 | foo1 | ||
| 3 | foo2 | ||
| 4 | EOF | ||
| 5 | |||
| 6 | cat > bar <<EOF | ||
| 7 | bar1 | ||
| 8 | bar2 | ||
| 9 | bar3 | ||
| 10 | EOF | ||
| 11 | |||
| 12 | cat > baz <<EOF | ||
| 13 | foo1 bar1 | ||
| 14 | foo2 bar2 | ||
| 15 | bar3 | ||
| 16 | EOF | ||
| 17 | |||
| 18 | busybox paste foo bar > qux | ||
| 19 | diff -u baz qux | ||
