Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.busybox.net/busybox.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDenys Vlasenko <vda.linux@googlemail.com>2023-01-02 19:01:14 +0300
committerDenys Vlasenko <vda.linux@googlemail.com>2023-01-02 19:01:14 +0300
commitdc068abad597cb8ccd08da84180d0bdba7b3af01 (patch)
tree57044d5c2c16e7f00a7d0ad0e14a450a255dd598
parentadb1c7dcfe14132f2a5e0947d1af3eb50c751327 (diff)
testsuite/tree.tests: fix false positive failure
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
-rwxr-xr-xtestsuite/tree.tests38
1 files changed, 20 insertions, 18 deletions
diff --git a/testsuite/tree.tests b/testsuite/tree.tests
index 4f4a9e30b..1fa66da80 100755
--- a/testsuite/tree.tests
+++ b/testsuite/tree.tests
@@ -18,6 +18,8 @@ tree.tempdir [error opening dir]\n\
mkdir -p tree2.tempdir
touch tree2.tempdir/testfile
+optional UNICODE_SUPPORT
+
testing "tree single file" \
"cd tree2.tempdir && tree" \
"\
@@ -50,17 +52,17 @@ testing "tree nested directories and files" \
.\n\
├── test1\n\
├── test2\n\
-│   ├── a\n\
-│   │   ├── testfile1\n\
-│   │   ├── testfile2\n\
-│   │   ├── testfile3\n\
-│   │   └── testfile4 -> ../b/testfile4\n\
-│   └── b\n\
-│   ├── test3 -> ../../test3\n\
-│   └── testfile4\n\
+│ ├── a\n\
+│ │ ├── testfile1\n\
+│ │ ├── testfile2\n\
+│ │ ├── testfile3\n\
+│ │ └── testfile4 -> ../b/testfile4\n\
+│ └── b\n\
+│ ├── test3 -> ../../test3\n\
+│ └── testfile4\n\
└── test3\n\
├── c\n\
- │   └── testfile5\n\
+ │ └── testfile5\n\
└── d\n\
└── testfile6\n\
\n\
@@ -77,17 +79,17 @@ tree2.tempdir\n\
tree3.tempdir\n\
├── test1\n\
├── test2\n\
-│   ├── a\n\
-│   │   ├── testfile1\n\
-│   │   ├── testfile2\n\
-│   │   ├── testfile3\n\
-│   │   └── testfile4 -> ../b/testfile4\n\
-│   └── b\n\
-│   ├── test3 -> ../../test3\n\
-│   └── testfile4\n\
+│ ├── a\n\
+│ │ ├── testfile1\n\
+│ │ ├── testfile2\n\
+│ │ ├── testfile3\n\
+│ │ └── testfile4 -> ../b/testfile4\n\
+│ └── b\n\
+│ ├── test3 -> ../../test3\n\
+│ └── testfile4\n\
└── test3\n\
├── c\n\
- │   └── testfile5\n\
+ │ └── testfile5\n\
└── d\n\
└── testfile6\n\
\n\