From d2383f57cd1ede7c43c69953e101b89d920353f6 Mon Sep 17 00:00:00 2001 From: Maxime Coste Date: Thu, 23 Mar 2017 17:35:20 +0100 Subject: paste: new applet function old new delta paste_main - 493 +493 packed_usage 31019 31070 +51 applet_names 2569 2575 +6 applet_main 1484 1488 +4 ------------------------------------------------------------------------------ (add/remove: 2/0 grow/shrink: 3/0 up/down: 554/0) Total: 554 bytes Signed-off-by: Maxime Coste Signed-off-by: Denys Vlasenko --- testsuite/paste/paste | 20 ++++++++++++++++++++ testsuite/paste/paste-back-cuted-lines | 9 +++++++++ testsuite/paste/paste-multi-stdin | 16 ++++++++++++++++ testsuite/paste/paste-pairs | 16 ++++++++++++++++ testsuite/paste/paste-separate | 19 +++++++++++++++++++ 5 files changed, 80 insertions(+) create mode 100644 testsuite/paste/paste create mode 100644 testsuite/paste/paste-back-cuted-lines create mode 100644 testsuite/paste/paste-multi-stdin create mode 100644 testsuite/paste/paste-pairs create mode 100644 testsuite/paste/paste-separate (limited to 'testsuite/paste') diff --git a/testsuite/paste/paste b/testsuite/paste/paste new file mode 100644 index 0000000..349b49d --- /dev/null +++ b/testsuite/paste/paste @@ -0,0 +1,20 @@ +cat > foo < bar < baz < qux +diff -u baz qux diff --git a/testsuite/paste/paste-back-cuted-lines b/testsuite/paste/paste-back-cuted-lines new file mode 100644 index 0000000..a8171bf --- /dev/null +++ b/testsuite/paste/paste-back-cuted-lines @@ -0,0 +1,9 @@ +cat > foo < foo1 +cut -b 14- -n foo > foo2 +busybox paste -d '\0' foo1 foo2 > bar +cmp foo bar diff --git a/testsuite/paste/paste-multi-stdin b/testsuite/paste/paste-multi-stdin new file mode 100644 index 0000000..fee5430 --- /dev/null +++ b/testsuite/paste/paste-multi-stdin @@ -0,0 +1,16 @@ +cat > foo < bar < baz +cmp bar baz diff --git a/testsuite/paste/paste-pairs b/testsuite/paste/paste-pairs new file mode 100644 index 0000000..90725fa --- /dev/null +++ b/testsuite/paste/paste-pairs @@ -0,0 +1,16 @@ +cat > foo < bar < baz +cmp bar baz diff --git a/testsuite/paste/paste-separate b/testsuite/paste/paste-separate new file mode 100644 index 0000000..40793fb --- /dev/null +++ b/testsuite/paste/paste-separate @@ -0,0 +1,19 @@ +cat > foo < bar < baz < qux +cmp baz qux -- cgit v1.1