summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorTavian Barnes <tavianator@tavianator.com>2017-09-02 15:34:32 -0400
committerTavian Barnes <tavianator@tavianator.com>2017-09-02 15:34:32 -0400
commit2741f580ffb6a05f52f0e2b05fa77ff3a15d967f (patch)
treea89624d55c79f91807ed89988271c31b5bce6fc6 /tests
parente5627cd680838ad2217d4ba107a7e6d9aff26c2c (diff)
downloadbfs-2741f580ffb6a05f52f0e2b05fa77ff3a15d967f.tar.xz
tests: Use human-readable filenames in links/
Diffstat (limited to 'tests')
-rw-r--r--tests/test_H.out2
-rw-r--r--tests/test_H_broken.out2
-rw-r--r--tests/test_H_samefile_broken.out2
-rw-r--r--tests/test_H_samefile_symlink.out4
-rw-r--r--tests/test_H_slash.out2
-rw-r--r--tests/test_L.out23
-rw-r--r--tests/test_L_depth.out23
-rw-r--r--tests/test_L_ilname.out2
-rw-r--r--tests/test_L_lname.out2
-rw-r--r--tests/test_L_xtype_f.out4
-rw-r--r--tests/test_L_xtype_l.out11
-rw-r--r--tests/test_P.out2
-rw-r--r--tests/test_P_slash.out2
-rw-r--r--tests/test_colors.out21
-rw-r--r--tests/test_expr_flag_path.out3
-rw-r--r--tests/test_expr_path_flag.out3
-rw-r--r--tests/test_flag_expr_path.out3
-rw-r--r--tests/test_follow.out23
-rw-r--r--tests/test_ilname.out2
-rw-r--r--tests/test_links.out4
-rw-r--r--tests/test_links_plus.out4
-rw-r--r--tests/test_lname.out2
-rw-r--r--tests/test_path_expr_flag.out3
-rw-r--r--tests/test_path_flag_expr.out3
-rw-r--r--tests/test_printf_types.out21
-rw-r--r--tests/test_samefile.out4
-rw-r--r--tests/test_samefile_broken.out2
-rw-r--r--tests/test_samefile_symlink.out2
-rw-r--r--tests/test_type_multi.out10
-rw-r--r--tests/test_xtype_f.out6
-rw-r--r--tests/test_xtype_l.out4
-rw-r--r--tests/test_xtype_multi.out16
32 files changed, 101 insertions, 116 deletions
diff --git a/tests/test_H.out b/tests/test_H.out
index a4beda4..ff635ff 100644
--- a/tests/test_H.out
+++ b/tests/test_H.out
@@ -1 +1 @@
-links/d/e/f
+links/deeply/nested/dir
diff --git a/tests/test_H_broken.out b/tests/test_H_broken.out
index e5e13fc..21d6316 100644
--- a/tests/test_H_broken.out
+++ b/tests/test_H_broken.out
@@ -1 +1 @@
-links/d/e/i
+links/broken
diff --git a/tests/test_H_samefile_broken.out b/tests/test_H_samefile_broken.out
index e5e13fc..21d6316 100644
--- a/tests/test_H_samefile_broken.out
+++ b/tests/test_H_samefile_broken.out
@@ -1 +1 @@
-links/d/e/i
+links/broken
diff --git a/tests/test_H_samefile_symlink.out b/tests/test_H_samefile_symlink.out
index 892c879..996ffc8 100644
--- a/tests/test_H_samefile_symlink.out
+++ b/tests/test_H_samefile_symlink.out
@@ -1,2 +1,2 @@
-links/a
-links/c
+links/file
+links/hardlink
diff --git a/tests/test_H_slash.out b/tests/test_H_slash.out
index 0a4fc77..df7701b 100644
--- a/tests/test_H_slash.out
+++ b/tests/test_H_slash.out
@@ -1 +1 @@
-links/d/e/f/
+links/deeply/nested/dir/
diff --git a/tests/test_L.out b/tests/test_L.out
index f9ded0a..dc88380 100644
--- a/tests/test_L.out
+++ b/tests/test_L.out
@@ -1,13 +1,12 @@
links
-links/a
-links/b
-links/c
-links/d
-links/h
-links/j
-links/d/e
-links/h/f
-links/h/g
-links/h/i
-links/d/e/f
-links/d/e/i
+links/broken
+links/deeply
+links/file
+links/hardlink
+links/notdir
+links/skip
+links/symlink
+links/deeply/nested
+links/skip/dir
+links/skip/loop
+links/deeply/nested/dir
diff --git a/tests/test_L_depth.out b/tests/test_L_depth.out
index f9ded0a..dc88380 100644
--- a/tests/test_L_depth.out
+++ b/tests/test_L_depth.out
@@ -1,13 +1,12 @@
links
-links/a
-links/b
-links/c
-links/d
-links/h
-links/j
-links/d/e
-links/h/f
-links/h/g
-links/h/i
-links/d/e/f
-links/d/e/i
+links/broken
+links/deeply
+links/file
+links/hardlink
+links/notdir
+links/skip
+links/symlink
+links/deeply/nested
+links/skip/dir
+links/skip/loop
+links/deeply/nested/dir
diff --git a/tests/test_L_ilname.out b/tests/test_L_ilname.out
index b7e42dd..e69de29 100644
--- a/tests/test_L_ilname.out
+++ b/tests/test_L_ilname.out
@@ -1,2 +0,0 @@
-links/h/i
-links/d/e/i
diff --git a/tests/test_L_lname.out b/tests/test_L_lname.out
index b7e42dd..e69de29 100644
--- a/tests/test_L_lname.out
+++ b/tests/test_L_lname.out
@@ -1,2 +0,0 @@
-links/h/i
-links/d/e/i
diff --git a/tests/test_L_xtype_f.out b/tests/test_L_xtype_f.out
index 892c879..996ffc8 100644
--- a/tests/test_L_xtype_f.out
+++ b/tests/test_L_xtype_f.out
@@ -1,2 +1,2 @@
-links/a
-links/c
+links/file
+links/hardlink
diff --git a/tests/test_L_xtype_l.out b/tests/test_L_xtype_l.out
index 57bee1b..5773878 100644
--- a/tests/test_L_xtype_l.out
+++ b/tests/test_L_xtype_l.out
@@ -1,6 +1,5 @@
-links/b
-links/h
-links/j
-links/h/g
-links/h/i
-links/d/e/i
+links/broken
+links/notdir
+links/skip
+links/symlink
+links/skip/loop
diff --git a/tests/test_P.out b/tests/test_P.out
index a4beda4..ff635ff 100644
--- a/tests/test_P.out
+++ b/tests/test_P.out
@@ -1 +1 @@
-links/d/e/f
+links/deeply/nested/dir
diff --git a/tests/test_P_slash.out b/tests/test_P_slash.out
index 0a4fc77..df7701b 100644
--- a/tests/test_P_slash.out
+++ b/tests/test_P_slash.out
@@ -1 +1 @@
-links/d/e/f/
+links/deeply/nested/dir/
diff --git a/tests/test_colors.out b/tests/test_colors.out
index 8c8b244..6f8c534 100644
--- a/tests/test_colors.out
+++ b/tests/test_colors.out
@@ -1,11 +1,12 @@
links
-links/d
-links/b
-links/h
-links/j
-links/a
-links/c
-links/d/e
-links/d/e/f
-links/d/e/g
-links/d/e/i
+links/deeply
+links/skip
+links/symlink
+links/broken
+links/loop
+links/notdir
+links/file
+links/hardlink
+links/deeply/nested
+links/deeply/nested/dir
+links/deeply/nested/loop
diff --git a/tests/test_expr_flag_path.out b/tests/test_expr_flag_path.out
index c774fb9..c37a541 100644
--- a/tests/test_expr_flag_path.out
+++ b/tests/test_expr_flag_path.out
@@ -1,2 +1 @@
-links/h/g
-links/h/i
+links/skip/loop
diff --git a/tests/test_expr_path_flag.out b/tests/test_expr_path_flag.out
index c774fb9..c37a541 100644
--- a/tests/test_expr_path_flag.out
+++ b/tests/test_expr_path_flag.out
@@ -1,2 +1 @@
-links/h/g
-links/h/i
+links/skip/loop
diff --git a/tests/test_flag_expr_path.out b/tests/test_flag_expr_path.out
index c774fb9..c37a541 100644
--- a/tests/test_flag_expr_path.out
+++ b/tests/test_flag_expr_path.out
@@ -1,2 +1 @@
-links/h/g
-links/h/i
+links/skip/loop
diff --git a/tests/test_follow.out b/tests/test_follow.out
index f9ded0a..dc88380 100644
--- a/tests/test_follow.out
+++ b/tests/test_follow.out
@@ -1,13 +1,12 @@
links
-links/a
-links/b
-links/c
-links/d
-links/h
-links/j
-links/d/e
-links/h/f
-links/h/g
-links/h/i
-links/d/e/f
-links/d/e/i
+links/broken
+links/deeply
+links/file
+links/hardlink
+links/notdir
+links/skip
+links/symlink
+links/deeply/nested
+links/skip/dir
+links/skip/loop
+links/deeply/nested/dir
diff --git a/tests/test_ilname.out b/tests/test_ilname.out
index 45cc127..e69de29 100644
--- a/tests/test_ilname.out
+++ b/tests/test_ilname.out
@@ -1,2 +0,0 @@
-links/b
-links/d/e/i
diff --git a/tests/test_links.out b/tests/test_links.out
index 892c879..996ffc8 100644
--- a/tests/test_links.out
+++ b/tests/test_links.out
@@ -1,2 +1,2 @@
-links/a
-links/c
+links/file
+links/hardlink
diff --git a/tests/test_links_plus.out b/tests/test_links_plus.out
index 892c879..996ffc8 100644
--- a/tests/test_links_plus.out
+++ b/tests/test_links_plus.out
@@ -1,2 +1,2 @@
-links/a
-links/c
+links/file
+links/hardlink
diff --git a/tests/test_lname.out b/tests/test_lname.out
index 45cc127..e69de29 100644
--- a/tests/test_lname.out
+++ b/tests/test_lname.out
@@ -1,2 +0,0 @@
-links/b
-links/d/e/i
diff --git a/tests/test_path_expr_flag.out b/tests/test_path_expr_flag.out
index c774fb9..c37a541 100644
--- a/tests/test_path_expr_flag.out
+++ b/tests/test_path_expr_flag.out
@@ -1,2 +1 @@
-links/h/g
-links/h/i
+links/skip/loop
diff --git a/tests/test_path_flag_expr.out b/tests/test_path_flag_expr.out
index c774fb9..c37a541 100644
--- a/tests/test_path_flag_expr.out
+++ b/tests/test_path_flag_expr.out
@@ -1,2 +1 @@
-links/h/g
-links/h/i
+links/skip/loop
diff --git a/tests/test_printf_types.out b/tests/test_printf_types.out
index bd89b47..b548b10 100644
--- a/tests/test_printf_types.out
+++ b/tests/test_printf_types.out
@@ -1,11 +1,12 @@
(links) () d d
-(links/a) () f f
-(links/b) (a) l f
-(links/c) () f f
-(links/d) () d d
-(links/d/e) () d d
-(links/h) (d/e) l d
-(links/j) (b/c) l N
-(links/d/e/f) () d d
-(links/d/e/i) (q) l N
-(links/d/e/g) (../../d) l d
+(links/broken) (nowhere) l N
+(links/deeply) () d d
+(links/file) () f f
+(links/hardlink) () f f
+(links/loop) (loop) l L
+(links/symlink) (file) l f
+(links/deeply/nested) () d d
+(links/notdir) (symlink/file) l N
+(links/deeply/nested/dir) () d d
+(links/skip) (deeply/nested/loop/nested) l d
+(links/deeply/nested/loop) (../../deeply) l d
diff --git a/tests/test_samefile.out b/tests/test_samefile.out
index 892c879..996ffc8 100644
--- a/tests/test_samefile.out
+++ b/tests/test_samefile.out
@@ -1,2 +1,2 @@
-links/a
-links/c
+links/file
+links/hardlink
diff --git a/tests/test_samefile_broken.out b/tests/test_samefile_broken.out
index e5e13fc..21d6316 100644
--- a/tests/test_samefile_broken.out
+++ b/tests/test_samefile_broken.out
@@ -1 +1 @@
-links/d/e/i
+links/broken
diff --git a/tests/test_samefile_symlink.out b/tests/test_samefile_symlink.out
index 76696d9..299a572 100644
--- a/tests/test_samefile_symlink.out
+++ b/tests/test_samefile_symlink.out
@@ -1 +1 @@
-links/b
+links/symlink
diff --git a/tests/test_type_multi.out b/tests/test_type_multi.out
index 1f94970..316ab7f 100644
--- a/tests/test_type_multi.out
+++ b/tests/test_type_multi.out
@@ -1,6 +1,6 @@
links
-links/a
-links/c
-links/d
-links/d/e
-links/d/e/f
+links/deeply
+links/file
+links/hardlink
+links/deeply/nested
+links/deeply/nested/dir
diff --git a/tests/test_xtype_f.out b/tests/test_xtype_f.out
index 2a65132..222ac78 100644
--- a/tests/test_xtype_f.out
+++ b/tests/test_xtype_f.out
@@ -1,3 +1,3 @@
-links/a
-links/b
-links/c
+links/file
+links/hardlink
+links/symlink
diff --git a/tests/test_xtype_l.out b/tests/test_xtype_l.out
index 2d1293f..8b0a404 100644
--- a/tests/test_xtype_l.out
+++ b/tests/test_xtype_l.out
@@ -1,2 +1,2 @@
-links/j
-links/d/e/i
+links/broken
+links/notdir
diff --git a/tests/test_xtype_multi.out b/tests/test_xtype_multi.out
index 8849bb9..f9847db 100644
--- a/tests/test_xtype_multi.out
+++ b/tests/test_xtype_multi.out
@@ -1,9 +1,9 @@
links
-links/a
-links/b
-links/c
-links/d
-links/h
-links/d/e
-links/d/e/f
-links/d/e/g
+links/deeply
+links/file
+links/hardlink
+links/skip
+links/symlink
+links/deeply/nested
+links/deeply/nested/dir
+links/deeply/nested/loop