diff options
Diffstat (limited to 'tests')
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 @@ [01;34m[0m[01;34mlinks[0m -[01;34mlinks/[0m[01;34md[0m -[01;34mlinks/[0m[01;36mb[0m -[01;34mlinks/[0m[01;36mh[0m -[01;34mlinks/[0m[40;31;01mj[0m -[01;34mlinks/[0ma -[01;34mlinks/[0mc -[01;34mlinks/d/[0m[01;34me[0m -[01;34mlinks/d/e/[0m[01;34mf[0m -[01;34mlinks/d/e/[0m[01;36mg[0m -[01;34mlinks/d/e/[0m[40;31;01mi[0m +[01;34mlinks/[0m[01;34mdeeply[0m +[01;34mlinks/[0m[01;36mskip[0m +[01;34mlinks/[0m[01;36msymlink[0m +[01;34mlinks/[0m[40;31;01mbroken[0m +[01;34mlinks/[0m[40;31;01mloop[0m +[01;34mlinks/[0m[40;31;01mnotdir[0m +[01;34mlinks/[0mfile +[01;34mlinks/[0mhardlink +[01;34mlinks/deeply/[0m[01;34mnested[0m +[01;34mlinks/deeply/nested/[0m[01;34mdir[0m +[01;34mlinks/deeply/nested/[0m[01;36mloop[0m 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 |