summaryrefslogtreecommitdiff
path: root/release/src/router/busybox/testsuite/dirname
diff options
context:
space:
mode:
authorAndreas Baumann <mail@andreasbaumann.cc>2015-01-03 12:04:58 +0100
committerAndreas Baumann <mail@andreasbaumann.cc>2015-01-03 12:04:58 +0100
commit008d0be72b2f160382c6e880765e96b64a050c65 (patch)
tree36f48a98a3815a408e2ce1693dd182af90f80305 /release/src/router/busybox/testsuite/dirname
parent611becfb8726c60cb060368541ad98191d4532f5 (diff)
downloadtomato-008d0be72b2f160382c6e880765e96b64a050c65.tar.gz
tomato-008d0be72b2f160382c6e880765e96b64a050c65.tar.bz2
imported original firmware WRT54GL_v4.30.11_11_US
Diffstat (limited to 'release/src/router/busybox/testsuite/dirname')
-rwxr-xr-xrelease/src/router/busybox/testsuite/dirname/dirname-handles-absolute-path1
-rwxr-xr-xrelease/src/router/busybox/testsuite/dirname/dirname-handles-empty-path1
-rwxr-xr-xrelease/src/router/busybox/testsuite/dirname/dirname-handles-multiple-slashes1
-rwxr-xr-xrelease/src/router/busybox/testsuite/dirname/dirname-handles-relative-path1
-rwxr-xr-xrelease/src/router/busybox/testsuite/dirname/dirname-handles-root1
-rwxr-xr-xrelease/src/router/busybox/testsuite/dirname/dirname-handles-single-component1
6 files changed, 6 insertions, 0 deletions
diff --git a/release/src/router/busybox/testsuite/dirname/dirname-handles-absolute-path b/release/src/router/busybox/testsuite/dirname/dirname-handles-absolute-path
new file mode 100755
index 00000000..ca1a51b3
--- /dev/null
+++ b/release/src/router/busybox/testsuite/dirname/dirname-handles-absolute-path
@@ -0,0 +1 @@
+test $(busybox dirname /foo/bar/baz) = /foo/bar
diff --git a/release/src/router/busybox/testsuite/dirname/dirname-handles-empty-path b/release/src/router/busybox/testsuite/dirname/dirname-handles-empty-path
new file mode 100755
index 00000000..04134a58
--- /dev/null
+++ b/release/src/router/busybox/testsuite/dirname/dirname-handles-empty-path
@@ -0,0 +1 @@
+test $(busybox dirname '') = .
diff --git a/release/src/router/busybox/testsuite/dirname/dirname-handles-multiple-slashes b/release/src/router/busybox/testsuite/dirname/dirname-handles-multiple-slashes
new file mode 100755
index 00000000..286f2536
--- /dev/null
+++ b/release/src/router/busybox/testsuite/dirname/dirname-handles-multiple-slashes
@@ -0,0 +1 @@
+test $(busybox dirname foo/bar///baz) = foo/bar
diff --git a/release/src/router/busybox/testsuite/dirname/dirname-handles-relative-path b/release/src/router/busybox/testsuite/dirname/dirname-handles-relative-path
new file mode 100755
index 00000000..ffe4ab45
--- /dev/null
+++ b/release/src/router/busybox/testsuite/dirname/dirname-handles-relative-path
@@ -0,0 +1 @@
+test $(busybox dirname foo/bar/baz) = foo/bar
diff --git a/release/src/router/busybox/testsuite/dirname/dirname-handles-root b/release/src/router/busybox/testsuite/dirname/dirname-handles-root
new file mode 100755
index 00000000..6bd62b8a
--- /dev/null
+++ b/release/src/router/busybox/testsuite/dirname/dirname-handles-root
@@ -0,0 +1 @@
+test $(busybox dirname /) = /
diff --git a/release/src/router/busybox/testsuite/dirname/dirname-handles-single-component b/release/src/router/busybox/testsuite/dirname/dirname-handles-single-component
new file mode 100755
index 00000000..24f9ae16
--- /dev/null
+++ b/release/src/router/busybox/testsuite/dirname/dirname-handles-single-component
@@ -0,0 +1 @@
+test $(busybox dirname foo) = .