aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDenys Vlasenko <vda.linux@googlemail.com>2023-01-02 17:01:14 +0100
committerDenys Vlasenko <vda.linux@googlemail.com>2023-01-02 17:01:14 +0100
commitdc068abad597cb8ccd08da84180d0bdba7b3af01 (patch)
tree57044d5c2c16e7f00a7d0ad0e14a450a255dd598
parentadb1c7dcfe14132f2a5e0947d1af3eb50c751327 (diff)
downloadbusybox-w32-dc068abad597cb8ccd08da84180d0bdba7b3af01.tar.gz
busybox-w32-dc068abad597cb8ccd08da84180d0bdba7b3af01.tar.bz2
busybox-w32-dc068abad597cb8ccd08da84180d0bdba7b3af01.zip
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\
18mkdir -p tree2.tempdir 18mkdir -p tree2.tempdir
19touch tree2.tempdir/testfile 19touch tree2.tempdir/testfile
20 20
21optional UNICODE_SUPPORT
22
21testing "tree single file" \ 23testing "tree single file" \
22 "cd tree2.tempdir && tree" \ 24 "cd tree2.tempdir && tree" \
23 "\ 25 "\
@@ -50,17 +52,17 @@ testing "tree nested directories and files" \
50.\n\ 52.\n\
51├── test1\n\ 53├── test1\n\
52├── test2\n\ 54├── test2\n\
53   ├── a\n\ 55 ├── a\n\
54     ├── testfile1\n\ 56 ├── testfile1\n\
55     ├── testfile2\n\ 57 ├── testfile2\n\
56     ├── testfile3\n\ 58 ├── testfile3\n\
57     └── testfile4 -> ../b/testfile4\n\ 59 └── testfile4 -> ../b/testfile4\n\
58   └── b\n\ 60 └── b\n\
59   ├── test3 -> ../../test3\n\ 61 ├── test3 -> ../../test3\n\
60   └── testfile4\n\ 62 └── testfile4\n\
61└── test3\n\ 63└── test3\n\
62 ├── c\n\ 64 ├── c\n\
63   └── testfile5\n\ 65 └── testfile5\n\
64 └── d\n\ 66 └── d\n\
65 └── testfile6\n\ 67 └── testfile6\n\
66\n\ 68\n\
@@ -77,17 +79,17 @@ tree2.tempdir\n\
77tree3.tempdir\n\ 79tree3.tempdir\n\
78├── test1\n\ 80├── test1\n\
79├── test2\n\ 81├── test2\n\
80   ├── a\n\ 82 ├── a\n\
81     ├── testfile1\n\ 83 ├── testfile1\n\
82     ├── testfile2\n\ 84 ├── testfile2\n\
83     ├── testfile3\n\ 85 ├── testfile3\n\
84     └── testfile4 -> ../b/testfile4\n\ 86 └── testfile4 -> ../b/testfile4\n\
85   └── b\n\ 87 └── b\n\
86   ├── test3 -> ../../test3\n\ 88 ├── test3 -> ../../test3\n\
87   └── testfile4\n\ 89 └── testfile4\n\
88└── test3\n\ 90└── test3\n\
89 ├── c\n\ 91 ├── c\n\
90   └── testfile5\n\ 92 └── testfile5\n\
91 └── d\n\ 93 └── d\n\
92 └── testfile6\n\ 94 └── testfile6\n\
93\n\ 95\n\