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/dirname | |
parent | 999623e9736d21177d1f437679b334e0347a6e0f (diff) | |
download | busybox-3889078dbe09a9d85b359e9c0c0c225e0bbea343.zip busybox-3889078dbe09a9d85b359e9c0c0c225e0bbea343.tar.gz |
Merge test suite.
Diffstat (limited to 'testsuite/dirname')
-rw-r--r-- | testsuite/dirname/dirname-handles-absolute-path | 1 | ||||
-rw-r--r-- | testsuite/dirname/dirname-handles-empty-path | 1 | ||||
-rw-r--r-- | testsuite/dirname/dirname-handles-multiple-slashes | 1 | ||||
-rw-r--r-- | testsuite/dirname/dirname-handles-relative-path | 1 | ||||
-rw-r--r-- | testsuite/dirname/dirname-handles-root | 1 | ||||
-rw-r--r-- | testsuite/dirname/dirname-handles-single-component | 1 |
6 files changed, 6 insertions, 0 deletions
diff --git a/testsuite/dirname/dirname-handles-absolute-path b/testsuite/dirname/dirname-handles-absolute-path new file mode 100644 index 0000000..ca1a51b --- /dev/null +++ b/testsuite/dirname/dirname-handles-absolute-path @@ -0,0 +1 @@ +test $(busybox dirname /foo/bar/baz) = /foo/bar diff --git a/testsuite/dirname/dirname-handles-empty-path b/testsuite/dirname/dirname-handles-empty-path new file mode 100644 index 0000000..04134a5 --- /dev/null +++ b/testsuite/dirname/dirname-handles-empty-path @@ -0,0 +1 @@ +test $(busybox dirname '') = . diff --git a/testsuite/dirname/dirname-handles-multiple-slashes b/testsuite/dirname/dirname-handles-multiple-slashes new file mode 100644 index 0000000..286f253 --- /dev/null +++ b/testsuite/dirname/dirname-handles-multiple-slashes @@ -0,0 +1 @@ +test $(busybox dirname foo/bar///baz) = foo/bar diff --git a/testsuite/dirname/dirname-handles-relative-path b/testsuite/dirname/dirname-handles-relative-path new file mode 100644 index 0000000..ffe4ab4 --- /dev/null +++ b/testsuite/dirname/dirname-handles-relative-path @@ -0,0 +1 @@ +test $(busybox dirname foo/bar/baz) = foo/bar diff --git a/testsuite/dirname/dirname-handles-root b/testsuite/dirname/dirname-handles-root new file mode 100644 index 0000000..6bd62b8 --- /dev/null +++ b/testsuite/dirname/dirname-handles-root @@ -0,0 +1 @@ +test $(busybox dirname /) = / diff --git a/testsuite/dirname/dirname-handles-single-component b/testsuite/dirname/dirname-handles-single-component new file mode 100644 index 0000000..24f9ae1 --- /dev/null +++ b/testsuite/dirname/dirname-handles-single-component @@ -0,0 +1 @@ +test $(busybox dirname foo) = . |