diff options
author | Matt Kraai | 2001-10-30 23:11:20 +0000 |
---|---|---|
committer | Matt Kraai | 2001-10-30 23:11:20 +0000 |
commit | 3889078dbe09a9d85b359e9c0c0c225e0bbea343 (patch) | |
tree | e258582c0f14f06750e480e2c244260e79860fd0 /testsuite/cut | |
parent | 999623e9736d21177d1f437679b334e0347a6e0f (diff) | |
download | busybox-3889078dbe09a9d85b359e9c0c0c225e0bbea343.zip busybox-3889078dbe09a9d85b359e9c0c0c225e0bbea343.tar.gz |
Merge test suite.
Diffstat (limited to 'testsuite/cut')
-rw-r--r-- | testsuite/cut/cut-cuts-a-character | 1 | ||||
-rw-r--r-- | testsuite/cut/cut-cuts-a-closed-range | 1 | ||||
-rw-r--r-- | testsuite/cut/cut-cuts-a-field | 1 | ||||
-rw-r--r-- | testsuite/cut/cut-cuts-an-open-range | 1 | ||||
-rw-r--r-- | testsuite/cut/cut-cuts-an-unclosed-range | 1 |
5 files changed, 5 insertions, 0 deletions
diff --git a/testsuite/cut/cut-cuts-a-character b/testsuite/cut/cut-cuts-a-character new file mode 100644 index 0000000..d6c5efa --- /dev/null +++ b/testsuite/cut/cut-cuts-a-character @@ -0,0 +1 @@ +test $(echo abcd | busybox cut -c 3) = c diff --git a/testsuite/cut/cut-cuts-a-closed-range b/testsuite/cut/cut-cuts-a-closed-range new file mode 100644 index 0000000..9680b76 --- /dev/null +++ b/testsuite/cut/cut-cuts-a-closed-range @@ -0,0 +1 @@ +test $(echo abcd | busybox cut -c 1-2) = ab diff --git a/testsuite/cut/cut-cuts-a-field b/testsuite/cut/cut-cuts-a-field new file mode 100644 index 0000000..4c7f440 --- /dev/null +++ b/testsuite/cut/cut-cuts-a-field @@ -0,0 +1 @@ +test $(echo -e "f1\tf2\tf3" | busybox cut -f 2) = f2 diff --git a/testsuite/cut/cut-cuts-an-open-range b/testsuite/cut/cut-cuts-an-open-range new file mode 100644 index 0000000..1fbf277 --- /dev/null +++ b/testsuite/cut/cut-cuts-an-open-range @@ -0,0 +1 @@ +test $(echo abcd | busybox cut -c -3) = abc diff --git a/testsuite/cut/cut-cuts-an-unclosed-range b/testsuite/cut/cut-cuts-an-unclosed-range new file mode 100644 index 0000000..a2b0cdb --- /dev/null +++ b/testsuite/cut/cut-cuts-an-unclosed-range @@ -0,0 +1 @@ +test $(echo abcd | busybox cut -c 3-) = cd |