From 65af85882ae46cd8750b7f03519c3b291fc693db Mon Sep 17 00:00:00 2001 From: Tavian Barnes Date: Thu, 9 Feb 2017 20:02:52 -0500 Subject: Give the test cases human-readable names --- tests.sh | 745 ++++++++++++++---------- tests/test_0001.out | 19 - tests/test_0002.out | 12 - tests/test_0003.out | 7 - tests/test_0004.out | 18 - tests/test_0005.out | 10 - tests/test_0006.out | 18 - tests/test_0007.out | 9 - tests/test_0008.out | 10 - tests/test_0009.out | 16 - tests/test_0010.out | 4 - tests/test_0011.out | 7 - tests/test_0012.out | 4 - tests/test_0013.out | 5 - tests/test_0014.out | 5 - tests/test_0015.out | 8 - tests/test_0016.out | 19 - tests/test_0017.out | 19 - tests/test_0018.out | 19 - tests/test_0019.out | 19 - tests/test_0020.out | 19 - tests/test_0021.out | 19 - tests/test_0022.out | 4 - tests/test_0023.out | 4 - tests/test_0024.out | 2 - tests/test_0025.out | 0 tests/test_0026.out | 2 - tests/test_0027.out | 1 - tests/test_0028.out | 1 - tests/test_0029.out | 1 - tests/test_0030.out | 1 - tests/test_0031.out | 4 - tests/test_0032.out | 1 - tests/test_0033.out | 12 - tests/test_0034.out | 12 - tests/test_0035.out | 12 - tests/test_0036.out | 2 - tests/test_0037.out | 1 - tests/test_0038.out | 3 - tests/test_0039.out | 5 - tests/test_0040.out | 2 - tests/test_0041.out | 1 - tests/test_0042.out | 1 - tests/test_0043.out | 1 - tests/test_0044.out | 1 - tests/test_0045.out | 4 - tests/test_0046.out | 7 - tests/test_0047.out | 2 - tests/test_0048.out | 2 - tests/test_0049.out | 2 - tests/test_0050.out | 2 - tests/test_0051.out | 19 - tests/test_0052.out | 19 - tests/test_0053.out | 19 - tests/test_0054.out | 19 - tests/test_0055.out | 19 - tests/test_0056.out | 19 - tests/test_0057.out | 4 - tests/test_0058.out | 6 - tests/test_0059.out | 1 - tests/test_0060.out | 1 - tests/test_0061.out | 0 tests/test_0062.out | 19 - tests/test_0063.out | 19 - tests/test_0064.out | 19 - tests/test_0065.out | 19 - tests/test_0066.out | 19 - tests/test_0067.out | 4 - tests/test_0068.out | 23 - tests/test_0069.out | 28 - tests/test_0070.out | 28 - tests/test_0071.out | 2 - tests/test_0072.out | 17 - tests/test_0073.out | 19 - tests/test_0074.out | 7 - tests/test_0075.out | 7 - tests/test_0078.out | 1 - tests/test_0079.out | 1 - tests/test_0080.out | 5 - tests/test_0081.out | 1 - tests/test_0082.out | 3 - tests/test_0083.out | 7 - tests/test_0084.out | 0 tests/test_0085.out | 3 - tests/test_0086.out | 7 - tests/test_0090.out | 0 tests/test_0091.out | 7 - tests/test_0092.out | 0 tests/test_0094.out | 19 - tests/test_0095.out | 19 - tests/test_0096.out | 19 - tests/test_0098.out | 1 - tests/test_0099.out | 1 - tests/test_0100.out | 1 - tests/test_0101.out | 3 - tests/test_0102.out | 3 - tests/test_0103.out | 1 - tests/test_0104.out | 1 - tests/test_0105.out | 1 - tests/test_0106.out | 1 - tests/test_0107.out | 19 - tests/test_0108.out | 19 - tests/test_0109.out | 4 - tests/test_0110.out | 1 - tests/test_0111.out | 15 - tests/test_0112.out | 6 - tests/test_0113.out | 3 - tests/test_0114.out | 10 - tests/test_0115.out | 6 - tests/test_0116.out | 3 - tests/test_0117.out | 10 - tests/test_0118.out | 19 - tests/test_0119.out | 19 - tests/test_0120.out | 4 - tests/test_0121.out | 4 - tests/test_0122.out | 1 - tests/test_0123.out | 1 - tests/test_0124.out | 2 - tests/test_0125.out | 2 - tests/test_0126.out | 1 - tests/test_0127.out | 1 - tests/test_0128.out | 0 tests/test_0129.out | 0 tests/test_0130.out | 19 - tests/test_0131.out | 1 - tests/test_0132.out | 1 - tests/test_0133.out | 19 - tests/test_0134.out | 19 - tests/test_0135.out | 19 - tests/test_0136.out | 10 - tests/test_0137.out | 1 - tests/test_0138.out | 1 - tests/test_0139.out | 1 - tests/test_0140.out | 0 tests/test_0141.out | 1 - tests/test_0142.out | 6 - tests/test_0143.out | 9 - tests/test_E.out | 1 + tests/test_H.out | 1 + tests/test_H_broken.out | 1 + tests/test_H_mnewer.out | 4 + tests/test_H_newer.out | 4 + tests/test_H_slash.out | 1 + tests/test_L.out | 12 + tests/test_L_depth.out | 12 + tests/test_L_ilname.out | 2 + tests/test_L_lname.out | 2 + tests/test_L_xtype_f.out | 2 + tests/test_L_xtype_l.out | 5 + tests/test_P.out | 1 + tests/test_P_slash.out | 1 + tests/test_anewer.out | 4 + tests/test_basic.out | 19 + tests/test_comma.out | 23 + tests/test_d_path.out | 19 + tests/test_daystart.out | 19 + tests/test_daystart_twice.out | 19 + tests/test_depth.out | 19 + tests/test_depth_depth_n.out | 6 + tests/test_depth_depth_n_minus.out | 10 + tests/test_depth_depth_n_plus.out | 3 + tests/test_depth_maxdepth_1.out | 10 + tests/test_depth_maxdepth_2.out | 16 + tests/test_depth_mindepth_1.out | 18 + tests/test_depth_mindepth_2.out | 9 + tests/test_depth_n.out | 6 + tests/test_depth_n_minus.out | 10 + tests/test_depth_n_plus.out | 3 + tests/test_depth_slash.out | 19 + tests/test_double_dash.out | 7 + tests/test_empty.out | 8 + tests/test_exec.out | 19 + tests/test_exec_substring.out | 19 + tests/test_execdir.out | 19 + tests/test_execdir_pwd.out | 19 + tests/test_execdir_slash.out | 1 + tests/test_execdir_slash_pwd.out | 1 + tests/test_execdir_slashes.out | 1 + tests/test_execdir_substring.out | 19 + tests/test_executable.out | 4 + tests/test_f.out | 4 + tests/test_flag_comma.out | 2 + tests/test_flag_double_dash.out | 7 + tests/test_flag_weird_names.out | 28 + tests/test_follow.out | 12 + tests/test_follow_comma.out | 17 + tests/test_fprint.out | 19 + tests/test_gid.out | 19 + tests/test_gid_minus.out | 19 + tests/test_gid_name.out | 19 + tests/test_gid_plus.out | 19 + tests/test_group_id.out | 19 + tests/test_group_name.out | 19 + tests/test_hidden.out | 1 + tests/test_ilname.out | 2 + tests/test_iname.out | 4 + tests/test_inum.out | 1 + tests/test_ipath.out | 7 + tests/test_iregex.out | 3 + tests/test_links.out | 2 + tests/test_links_minus.out | 0 tests/test_links_plus.out | 2 + tests/test_lname.out | 2 + tests/test_maxdepth.out | 10 + tests/test_mindepth.out | 18 + tests/test_mnewer.out | 4 + tests/test_name.out | 4 + tests/test_name_root.out | 1 + tests/test_name_root_depth.out | 1 + tests/test_name_slash.out | 1 + tests/test_name_slashes.out | 1 + tests/test_name_trailing_slash.out | 1 + tests/test_newer.out | 4 + tests/test_newerma.out | 4 + tests/test_nogroup.out | 0 tests/test_nohidden.out | 15 + tests/test_nouser.out | 0 tests/test_ok_stdin.out | 19 + tests/test_okdir_stdin.out | 19 + tests/test_parens.out | 4 + tests/test_path.out | 7 + tests/test_path_d.out | 19 + tests/test_perm_222.out | 1 + tests/test_perm_222_minus.out | 1 + tests/test_perm_222_slash.out | 5 + tests/test_perm_644.out | 1 + tests/test_perm_644_minus.out | 3 + tests/test_perm_644_slash.out | 7 + tests/test_perm_leading_plus_symbolic.out | 0 tests/test_perm_leading_plus_symbolic_minus.out | 0 tests/test_perm_leading_plus_symbolic_slash.out | 7 + tests/test_perm_symbolic.out | 0 tests/test_perm_symbolic_minus.out | 3 + tests/test_perm_symbolic_slash.out | 7 + tests/test_printf.out | 19 + tests/test_printf_escapes.out | 1 + tests/test_printf_flags.out | 19 + tests/test_printf_leak.out | 1 + tests/test_printf_slash.out | 1 + tests/test_printf_slashes.out | 1 + tests/test_printf_trailing_slash.out | 19 + tests/test_printf_trailing_slashes.out | 19 + tests/test_printf_types.out | 10 + tests/test_quit.out | 1 + tests/test_quit_after_print.out | 1 + tests/test_quit_before_print.out | 0 tests/test_quit_child.out | 2 + tests/test_quit_depth.out | 2 + tests/test_quit_depth_child.out | 1 + tests/test_readable.out | 5 + tests/test_regex.out | 3 + tests/test_regex_parens.out | 1 + tests/test_regextype_posix_basic.out | 1 + tests/test_regextype_posix_extended.out | 1 + tests/test_samefile.out | 2 + tests/test_size.out | 6 + tests/test_size_T.out | 1 + tests/test_size_big.out | 0 tests/test_size_bytes.out | 1 + tests/test_size_plus.out | 1 + tests/test_type_d.out | 12 + tests/test_type_f.out | 7 + tests/test_type_multi.out | 6 + tests/test_uid.out | 19 + tests/test_uid_minus.out | 19 + tests/test_uid_name.out | 19 + tests/test_uid_plus.out | 19 + tests/test_user_id.out | 19 + tests/test_user_name.out | 19 + tests/test_weird_names.out | 28 + tests/test_writable.out | 5 + tests/test_xtype_f.out | 3 + tests/test_xtype_l.out | 1 + tests/test_xtype_multi.out | 9 + 274 files changed, 1529 insertions(+), 1389 deletions(-) delete mode 100644 tests/test_0001.out delete mode 100644 tests/test_0002.out delete mode 100644 tests/test_0003.out delete mode 100644 tests/test_0004.out delete mode 100644 tests/test_0005.out delete mode 100644 tests/test_0006.out delete mode 100644 tests/test_0007.out delete mode 100644 tests/test_0008.out delete mode 100644 tests/test_0009.out delete mode 100644 tests/test_0010.out delete mode 100644 tests/test_0011.out delete mode 100644 tests/test_0012.out delete mode 100644 tests/test_0013.out delete mode 100644 tests/test_0014.out delete mode 100644 tests/test_0015.out delete mode 100644 tests/test_0016.out delete mode 100644 tests/test_0017.out delete mode 100644 tests/test_0018.out delete mode 100644 tests/test_0019.out delete mode 100644 tests/test_0020.out delete mode 100644 tests/test_0021.out delete mode 100644 tests/test_0022.out delete mode 100644 tests/test_0023.out delete mode 100644 tests/test_0024.out delete mode 100644 tests/test_0025.out delete mode 100644 tests/test_0026.out delete mode 100644 tests/test_0027.out delete mode 100644 tests/test_0028.out delete mode 100644 tests/test_0029.out delete mode 100644 tests/test_0030.out delete mode 100644 tests/test_0031.out delete mode 100644 tests/test_0032.out delete mode 100644 tests/test_0033.out delete mode 100644 tests/test_0034.out delete mode 100644 tests/test_0035.out delete mode 100644 tests/test_0036.out delete mode 100644 tests/test_0037.out delete mode 100644 tests/test_0038.out delete mode 100644 tests/test_0039.out delete mode 100644 tests/test_0040.out delete mode 100644 tests/test_0041.out delete mode 100644 tests/test_0042.out delete mode 100644 tests/test_0043.out delete mode 100644 tests/test_0044.out delete mode 100644 tests/test_0045.out delete mode 100644 tests/test_0046.out delete mode 100644 tests/test_0047.out delete mode 100644 tests/test_0048.out delete mode 100644 tests/test_0049.out delete mode 100644 tests/test_0050.out delete mode 100644 tests/test_0051.out delete mode 100644 tests/test_0052.out delete mode 100644 tests/test_0053.out delete mode 100644 tests/test_0054.out delete mode 100644 tests/test_0055.out delete mode 100644 tests/test_0056.out delete mode 100644 tests/test_0057.out delete mode 100644 tests/test_0058.out delete mode 100644 tests/test_0059.out delete mode 100644 tests/test_0060.out delete mode 100644 tests/test_0061.out delete mode 100644 tests/test_0062.out delete mode 100644 tests/test_0063.out delete mode 100644 tests/test_0064.out delete mode 100644 tests/test_0065.out delete mode 100644 tests/test_0066.out delete mode 100644 tests/test_0067.out delete mode 100644 tests/test_0068.out delete mode 100644 tests/test_0069.out delete mode 100644 tests/test_0070.out delete mode 100644 tests/test_0071.out delete mode 100644 tests/test_0072.out delete mode 100644 tests/test_0073.out delete mode 100644 tests/test_0074.out delete mode 100644 tests/test_0075.out delete mode 100644 tests/test_0078.out delete mode 100644 tests/test_0079.out delete mode 100644 tests/test_0080.out delete mode 100644 tests/test_0081.out delete mode 100644 tests/test_0082.out delete mode 100644 tests/test_0083.out delete mode 100644 tests/test_0084.out delete mode 100644 tests/test_0085.out delete mode 100644 tests/test_0086.out delete mode 100644 tests/test_0090.out delete mode 100644 tests/test_0091.out delete mode 100644 tests/test_0092.out delete mode 100644 tests/test_0094.out delete mode 100644 tests/test_0095.out delete mode 100644 tests/test_0096.out delete mode 100644 tests/test_0098.out delete mode 100644 tests/test_0099.out delete mode 100644 tests/test_0100.out delete mode 100644 tests/test_0101.out delete mode 100644 tests/test_0102.out delete mode 100644 tests/test_0103.out delete mode 100644 tests/test_0104.out delete mode 100644 tests/test_0105.out delete mode 100644 tests/test_0106.out delete mode 100644 tests/test_0107.out delete mode 100644 tests/test_0108.out delete mode 100644 tests/test_0109.out delete mode 100644 tests/test_0110.out delete mode 100644 tests/test_0111.out delete mode 100644 tests/test_0112.out delete mode 100644 tests/test_0113.out delete mode 100644 tests/test_0114.out delete mode 100644 tests/test_0115.out delete mode 100644 tests/test_0116.out delete mode 100644 tests/test_0117.out delete mode 100644 tests/test_0118.out delete mode 100644 tests/test_0119.out delete mode 100644 tests/test_0120.out delete mode 100644 tests/test_0121.out delete mode 100644 tests/test_0122.out delete mode 100644 tests/test_0123.out delete mode 100644 tests/test_0124.out delete mode 100644 tests/test_0125.out delete mode 100644 tests/test_0126.out delete mode 100644 tests/test_0127.out delete mode 100644 tests/test_0128.out delete mode 100644 tests/test_0129.out delete mode 100644 tests/test_0130.out delete mode 100644 tests/test_0131.out delete mode 100644 tests/test_0132.out delete mode 100644 tests/test_0133.out delete mode 100644 tests/test_0134.out delete mode 100644 tests/test_0135.out delete mode 100644 tests/test_0136.out delete mode 100644 tests/test_0137.out delete mode 100644 tests/test_0138.out delete mode 100644 tests/test_0139.out delete mode 100644 tests/test_0140.out delete mode 100644 tests/test_0141.out delete mode 100644 tests/test_0142.out delete mode 100644 tests/test_0143.out create mode 100644 tests/test_E.out create mode 100644 tests/test_H.out create mode 100644 tests/test_H_broken.out create mode 100644 tests/test_H_mnewer.out create mode 100644 tests/test_H_newer.out create mode 100644 tests/test_H_slash.out create mode 100644 tests/test_L.out create mode 100644 tests/test_L_depth.out create mode 100644 tests/test_L_ilname.out create mode 100644 tests/test_L_lname.out create mode 100644 tests/test_L_xtype_f.out create mode 100644 tests/test_L_xtype_l.out create mode 100644 tests/test_P.out create mode 100644 tests/test_P_slash.out create mode 100644 tests/test_anewer.out create mode 100644 tests/test_basic.out create mode 100644 tests/test_comma.out create mode 100644 tests/test_d_path.out create mode 100644 tests/test_daystart.out create mode 100644 tests/test_daystart_twice.out create mode 100644 tests/test_depth.out create mode 100644 tests/test_depth_depth_n.out create mode 100644 tests/test_depth_depth_n_minus.out create mode 100644 tests/test_depth_depth_n_plus.out create mode 100644 tests/test_depth_maxdepth_1.out create mode 100644 tests/test_depth_maxdepth_2.out create mode 100644 tests/test_depth_mindepth_1.out create mode 100644 tests/test_depth_mindepth_2.out create mode 100644 tests/test_depth_n.out create mode 100644 tests/test_depth_n_minus.out create mode 100644 tests/test_depth_n_plus.out create mode 100644 tests/test_depth_slash.out create mode 100644 tests/test_double_dash.out create mode 100644 tests/test_empty.out create mode 100644 tests/test_exec.out create mode 100644 tests/test_exec_substring.out create mode 100644 tests/test_execdir.out create mode 100644 tests/test_execdir_pwd.out create mode 100644 tests/test_execdir_slash.out create mode 100644 tests/test_execdir_slash_pwd.out create mode 100644 tests/test_execdir_slashes.out create mode 100644 tests/test_execdir_substring.out create mode 100644 tests/test_executable.out create mode 100644 tests/test_f.out create mode 100644 tests/test_flag_comma.out create mode 100644 tests/test_flag_double_dash.out create mode 100644 tests/test_flag_weird_names.out create mode 100644 tests/test_follow.out create mode 100644 tests/test_follow_comma.out create mode 100644 tests/test_fprint.out create mode 100644 tests/test_gid.out create mode 100644 tests/test_gid_minus.out create mode 100644 tests/test_gid_name.out create mode 100644 tests/test_gid_plus.out create mode 100644 tests/test_group_id.out create mode 100644 tests/test_group_name.out create mode 100644 tests/test_hidden.out create mode 100644 tests/test_ilname.out create mode 100644 tests/test_iname.out create mode 100644 tests/test_inum.out create mode 100644 tests/test_ipath.out create mode 100644 tests/test_iregex.out create mode 100644 tests/test_links.out create mode 100644 tests/test_links_minus.out create mode 100644 tests/test_links_plus.out create mode 100644 tests/test_lname.out create mode 100644 tests/test_maxdepth.out create mode 100644 tests/test_mindepth.out create mode 100644 tests/test_mnewer.out create mode 100644 tests/test_name.out create mode 100644 tests/test_name_root.out create mode 100644 tests/test_name_root_depth.out create mode 100644 tests/test_name_slash.out create mode 100644 tests/test_name_slashes.out create mode 100644 tests/test_name_trailing_slash.out create mode 100644 tests/test_newer.out create mode 100644 tests/test_newerma.out create mode 100644 tests/test_nogroup.out create mode 100644 tests/test_nohidden.out create mode 100644 tests/test_nouser.out create mode 100644 tests/test_ok_stdin.out create mode 100644 tests/test_okdir_stdin.out create mode 100644 tests/test_parens.out create mode 100644 tests/test_path.out create mode 100644 tests/test_path_d.out create mode 100644 tests/test_perm_222.out create mode 100644 tests/test_perm_222_minus.out create mode 100644 tests/test_perm_222_slash.out create mode 100644 tests/test_perm_644.out create mode 100644 tests/test_perm_644_minus.out create mode 100644 tests/test_perm_644_slash.out create mode 100644 tests/test_perm_leading_plus_symbolic.out create mode 100644 tests/test_perm_leading_plus_symbolic_minus.out create mode 100644 tests/test_perm_leading_plus_symbolic_slash.out create mode 100644 tests/test_perm_symbolic.out create mode 100644 tests/test_perm_symbolic_minus.out create mode 100644 tests/test_perm_symbolic_slash.out create mode 100644 tests/test_printf.out create mode 100644 tests/test_printf_escapes.out create mode 100644 tests/test_printf_flags.out create mode 100644 tests/test_printf_leak.out create mode 100644 tests/test_printf_slash.out create mode 100644 tests/test_printf_slashes.out create mode 100644 tests/test_printf_trailing_slash.out create mode 100644 tests/test_printf_trailing_slashes.out create mode 100644 tests/test_printf_types.out create mode 100644 tests/test_quit.out create mode 100644 tests/test_quit_after_print.out create mode 100644 tests/test_quit_before_print.out create mode 100644 tests/test_quit_child.out create mode 100644 tests/test_quit_depth.out create mode 100644 tests/test_quit_depth_child.out create mode 100644 tests/test_readable.out create mode 100644 tests/test_regex.out create mode 100644 tests/test_regex_parens.out create mode 100644 tests/test_regextype_posix_basic.out create mode 100644 tests/test_regextype_posix_extended.out create mode 100644 tests/test_samefile.out create mode 100644 tests/test_size.out create mode 100644 tests/test_size_T.out create mode 100644 tests/test_size_big.out create mode 100644 tests/test_size_bytes.out create mode 100644 tests/test_size_plus.out create mode 100644 tests/test_type_d.out create mode 100644 tests/test_type_f.out create mode 100644 tests/test_type_multi.out create mode 100644 tests/test_uid.out create mode 100644 tests/test_uid_minus.out create mode 100644 tests/test_uid_name.out create mode 100644 tests/test_uid_plus.out create mode 100644 tests/test_user_id.out create mode 100644 tests/test_user_name.out create mode 100644 tests/test_weird_names.out create mode 100644 tests/test_writable.out create mode 100644 tests/test_xtype_f.out create mode 100644 tests/test_xtype_l.out create mode 100644 tests/test_xtype_multi.out diff --git a/tests.sh b/tests.sh index 084e8ac..bf5aab8 100755 --- a/tests.sh +++ b/tests.sh @@ -106,6 +106,196 @@ function _realpath() { BFS="$(_realpath ./bfs)" TESTS="$(_realpath ./tests)" +posix_tests=( + test_basic + test_type_d + test_type_f + test_mindepth + test_maxdepth + test_depth + test_depth_slash + test_depth_mindepth_1 + test_depth_mindepth_2 + test_depth_maxdepth_1 + test_depth_maxdepth_2 + test_name + test_name_root + test_name_root_depth + test_name_trailing_slash + test_path + test_newer + test_links + test_links_plus + test_links_minus + test_H + test_H_slash + test_H_broken + test_H_newer + test_L + test_L_depth + test_user_name + test_user_id + test_group_name + test_group_id + test_size + test_size_plus + test_size_bytes + test_exec + test_parens + test_flag_comma + test_perm_222 + test_perm_222_minus + test_perm_644 + test_perm_644_minus + test_perm_symbolic + test_perm_symbolic_minus + test_perm_leading_plus_symbolic_minus + test_ok_stdin +) + +bsd_tests=( + test_P + test_P_slash + test_follow + test_samefile + test_name_slash + test_name_slashes + test_iname + test_ipath + test_lname + test_ilname + test_L_lname + test_L_ilname + test_newerma + test_size_big + test_exec_substring + test_execdir_pwd + test_double_dash + test_flag_double_dash + test_ok_stdin + test_okdir_stdin + test_delete_root + test_execdir_slash + test_execdir_slash_pwd + test_regex + test_iregex + test_regex_parens + test_E + test_d_path + test_f + test_depth_n + test_depth_n_plus + test_depth_n_minus + test_depth_depth_n + test_depth_depth_n_plus + test_depth_depth_n_minus + test_gid_name + test_uid_name + test_mnewer + test_H_mnewer + test_size_T + test_quit + test_quit_child + test_quit_depth + test_quit_depth_child + test_inum + test_nogroup + test_nouser + test_quit_after_print + test_quit_before_print +) + +gnu_tests=( + test_executable + test_readable + test_writable + test_empty + test_gid + test_gid_plus + test_gid_minus + test_uid + test_uid_plus + test_uid_minus + test_anewer + test_P + test_P_slash + test_follow + test_samefile + test_xtype_l + test_xtype_f + test_L_xtype_l + test_L_xtype_f + test_name_slash + test_name_slashes + test_iname + test_ipath + test_lname + test_ilname + test_L_lname + test_L_ilname + test_daystart + test_daystart_twice + test_newerma + test_size_big + test_exec_substring + test_execdir + test_execdir_substring + test_execdir_pwd + test_comma + test_weird_names + test_flag_weird_names + test_follow_comma + test_fprint + test_double_dash + test_flag_double_dash + test_ignore_readdir_race + test_ignore_readdir_race_root + test_perm_222_slash + test_perm_644_slash + test_perm_symbolic_slash + test_perm_leading_plus_symbolic_slash + test_delete_root + test_execdir_slash + test_execdir_slash_pwd + test_regex + test_iregex + test_regex_parens + test_regextype_posix_basic + test_regextype_posix_extended + test_path_d + test_quit + test_quit_child + test_quit_depth + test_quit_depth_child + test_inum + test_nogroup + test_nouser + test_printf + test_printf_slash + test_printf_slashes + test_printf_trailing_slash + test_printf_trailing_slashes + test_printf_flags + test_printf_types + test_printf_escapes + test_quit_after_print + test_quit_before_print + test_printf_leak +) + +bfs_tests=( + test_type_multi + test_xtype_multi + test_perm_symbolic_trailing_comma + test_perm_symbolic_double_comma + test_perm_symbolic_missing_action + test_perm_leading_plus_symbolic + test_perm_octal_plus + test_execdir_slashes + test_hidden + test_nohidden +) + BSD=yes GNU=yes ALL=yes @@ -145,6 +335,30 @@ for arg; do esac done +declare -A run_tests + +for test in "${posix_tests[@]}"; do + run_tests["$test"]=yes +done + +if [ "$BSD" ]; then + for test in "${bsd_tests[@]}"; do + run_tests["$test"]=yes + done +fi + +if [ "$GNU" ]; then + for test in "${gnu_tests[@]}"; do + run_tests["$test"]=yes + done +fi + +if [ "$ALL" ]; then + for test in "${bfs_tests[@]}"; do + run_tests["$test"]=yes + done +fi + function bfs_sort() { awk -F/ '{ print NF - 1 " " $0 }' | sort -n | cut -d' ' -f2- } @@ -162,372 +376,344 @@ cd "$TMP" # Test cases -function test_0001() { +function test_basic() { bfs_diff basic } -function test_0002() { +function test_type_d() { bfs_diff basic -type d } -function test_0003() { +function test_type_f() { bfs_diff basic -type f } -function test_0004() { +function test_type_multi() { + bfs_diff links -type f,d,c +} + +function test_mindepth() { bfs_diff basic -mindepth 1 } -function test_0005() { +function test_maxdepth() { bfs_diff basic -maxdepth 1 } -function test_0006() { +function test_depth() { + bfs_diff basic -depth +} + +function test_depth_slash() { + bfs_diff basic/ -depth +} + +function test_depth_mindepth_1() { bfs_diff basic -mindepth 1 -depth } -function test_0007() { +function test_depth_mindepth_2() { bfs_diff basic -mindepth 2 -depth } -function test_0008() { +function test_depth_maxdepth_1() { bfs_diff basic -maxdepth 1 -depth } -function test_0009() { +function test_depth_maxdepth_2() { bfs_diff basic -maxdepth 2 -depth } -function test_0010() { +function test_name() { bfs_diff basic -name '*f*' } -function test_0011() { +function test_name_root() { + bfs_diff basic/a -name a +} + +function test_name_root_depth() { + bfs_diff basic/g -depth -name g +} + +function test_name_trailing_slash() { + bfs_diff basic/g/ -name g +} + +function test_name_slash() { + bfs_diff / -maxdepth 0 -name / 2>/dev/null +} + +function test_name_slashes() { + bfs_diff /// -maxdepth 0 -name / 2>/dev/null +} + +function test_path() { bfs_diff basic -path 'basic/*f*' } -function test_0012() { - [ "$GNU" ] || return 0 +function test_executable() { bfs_diff perms -executable } -function test_0013() { - [ "$GNU" ] || return 0 +function test_readable() { bfs_diff perms -readable } -function test_0014() { - [ "$GNU" ] || return 0 +function test_writable() { bfs_diff perms -writable } -function test_0015() { - [ "$GNU" ] || return 0 +function test_empty() { bfs_diff basic -empty } -function test_0016() { - [ "$GNU" ] || return 0 +function test_gid() { bfs_diff basic -gid "$(id -g)" } -function test_0017() { - [ "$GNU" ] || return 0 +function test_gid_plus() { bfs_diff basic -gid +0 } -function test_0018() { - [ "$GNU" ] || return 0 +function test_gid_minus() { bfs_diff basic -gid "-$(($(id -g) + 1))" } -function test_0019() { - [ "$GNU" ] || return 0 +function test_uid() { bfs_diff basic -uid "$(id -u)" } -function test_0020() { - [ "$GNU" ] || return 0 +function test_uid_plus() { bfs_diff basic -uid +0 } -function test_0021() { - [ "$GNU" ] || return 0 +function test_uid_minus() { bfs_diff basic -uid "-$(($(id -u) + 1))" } -function test_0022() { +function test_newer() { bfs_diff times -newer times/a } -function test_0023() { - [ "$GNU" ] || return 0 +function test_anewer() { bfs_diff times -anewer times/a } -function test_0024() { +function test_links() { bfs_diff links -type f -links 2 } -function test_0025() { - bfs_diff links -type f -links -2 +function test_links_plus() { + bfs_diff links -type f -links +1 } -function test_0026() { - bfs_diff links -type f -links +1 +function test_links_minus() { + bfs_diff links -type f -links -2 } -function test_0027() { +function test_P() { bfs_diff -P links/d/e/f } -function test_0028() { +function test_P_slash() { bfs_diff -P links/d/e/f/ } -function test_0029() { +function test_H() { bfs_diff -H links/d/e/f } -function test_0030() { +function test_H_slash() { bfs_diff -H links/d/e/f/ } -function test_0031() { - bfs_diff -H times -newer times/l +function test_H_broken() { + bfs_diff -H links/d/e/i } -function test_0032() { - bfs_diff -H links/d/e/i +function test_H_newer() { + bfs_diff -H times -newer times/l } -function test_0033() { +function test_L() { bfs_diff -L links 2>/dev/null } -function test_0034() { - [ "$BSD" -o "$GNU" ] || return 0 +function test_follow() { bfs_diff links -follow 2>/dev/null } -function test_0035() { +function test_L_depth() { bfs_diff -L links -depth 2>/dev/null } -function test_0036() { - [ "$BSD" -o "$GNU" ] || return 0 +function test_samefile() { bfs_diff links -samefile links/a } -function test_0037() { - [ "$GNU" ] || return 0 +function test_xtype_l() { bfs_diff links -xtype l } -function test_0038() { - [ "$GNU" ] || return 0 +function test_xtype_f() { bfs_diff links -xtype f } -function test_0039() { - [ "$GNU" ] || return 0 +function test_L_xtype_l() { bfs_diff -L links -xtype l 2>/dev/null } -function test_0040() { - [ "$GNU" ] || return 0 +function test_L_xtype_f() { bfs_diff -L links -xtype f 2>/dev/null } -function test_0041() { - bfs_diff basic/a -name a -} - -function test_0042() { - bfs_diff basic/g/ -name g -} - -function test_0043() { - [ "$BSD" -o "$GNU" ] || return 0 - bfs_diff / -maxdepth 0 -name / 2>/dev/null -} - -function test_0044() { - [ "$BSD" -o "$GNU" ] || return 0 - bfs_diff /// -maxdepth 0 -name / 2>/dev/null +function test_xtype_multi() { + bfs_diff links -xtype f,d,c } -function test_0045() { - [ "$BSD" -o "$GNU" ] || return 0 +function test_iname() { bfs_diff basic -iname '*F*' } -function test_0046() { - [ "$BSD" -o "$GNU" ] || return 0 +function test_ipath() { bfs_diff basic -ipath 'basic/*F*' } -function test_0047() { - [ "$BSD" -o "$GNU" ] || return 0 +function test_lname() { bfs_diff links -lname '[aq]' } -function test_0048() { - [ "$BSD" -o "$GNU" ] || return 0 +function test_ilname() { bfs_diff links -ilname '[AQ]' } -function test_0049() { - [ "$BSD" -o "$GNU" ] || return 0 +function test_L_lname() { bfs_diff -L links -lname '[aq]' 2>/dev/null } -function test_0050() { - [ "$BSD" -o "$GNU" ] || return 0 +function test_L_ilname() { bfs_diff -L links -ilname '[AQ]' 2>/dev/null } -function test_0051() { - bfs_diff -L basic -user "$(id -un)" +function test_user_name() { + bfs_diff basic -user "$(id -un)" } -function test_0052() { - bfs_diff -L basic -user "$(id -u)" +function test_user_id() { + bfs_diff basic -user "$(id -u)" } -function test_0053() { - bfs_diff -L basic -group "$(id -gn)" +function test_group_name() { + bfs_diff basic -group "$(id -gn)" } -function test_0054() { - bfs_diff -L basic -group "$(id -g)" +function test_group_id() { + bfs_diff basic -group "$(id -g)" } -function test_0055() { - [ "$GNU" ] || return 0 +function test_daystart() { bfs_diff basic -daystart -mtime 0 } -function test_0056() { - [ "$GNU" ] || return 0 +function test_daystart_twice() { bfs_diff basic -daystart -daystart -mtime 0 } -function test_0057() { - [ "$BSD" -o "$GNU" ] || return 0 +function test_newerma() { bfs_diff times -newerma times/a } -function test_0058() { +function test_size() { bfs_diff basic -type f -size 0 } -function test_0059() { +function test_size_plus() { bfs_diff basic -type f -size +0 } -function test_0060() { +function test_size_bytes() { bfs_diff basic -type f -size +0c } -function test_0061() { - [ "$BSD" -o "$GNU" ] || return 0 +function test_size_big() { bfs_diff basic -size 9223372036854775807 } -function test_0062() { +function test_exec() { bfs_diff basic -exec echo '{}' ';' } -function test_0063() { - [ "$BSD" -o "$GNU" ] || return 0 +function test_exec_substring() { bfs_diff basic -exec echo '-{}-' ';' } -function test_0064() { - [ "$BSD" -o "$GNU" ] || return 0 - - local TMP_REAL="$(cd "$TMP" && pwd)" - local OFFSET="$((${#TMP_REAL} + 2))" - bfs_diff basic -execdir bash -c "pwd | cut -b$OFFSET-" ';' -} - -function test_0065() { - [ "$GNU" ] || return 0 +function test_execdir() { bfs_diff basic -execdir echo '{}' ';' } -function test_0066() { - [ "$GNU" ] || return 0 +function test_execdir_substring() { bfs_diff basic -execdir echo '-{}-' ';' } -function test_0067() { +function test_execdir_pwd() { + local TMP_REAL="$(cd "$TMP" && pwd)" + local OFFSET="$((${#TMP_REAL} + 2))" + bfs_diff basic -execdir bash -c "pwd | cut -b$OFFSET-" ';' +} + +function test_parens() { bfs_diff basic \( -name '*f*' \) } -function test_0068() { - [ "$GNU" ] || return 0 +function test_comma() { bfs_diff basic -name '*f*' -print , -print } -function test_0069() { - [ "$GNU" ] || return 0 +function test_weird_names() { cd weirdnames bfs_diff '-' '(-' '!-' ',' ')' './(' './!' \( \! -print , -print \) } -function test_0070() { - [ "$GNU" ] || return 0 +function test_flag_weird_names() { cd weirdnames bfs_diff -L '-' '(-' '!-' ',' ')' './(' './!' \( \! -print , -print \) } -function test_0071() { +function test_flag_comma() { + # , is a filename until a non-flag is seen cd weirdnames bfs_diff -L ',' -print } -function test_0072() { - [ "$GNU" ] || return 0 +function test_follow_comma() { + # , is an operator after a non-flag is seen cd weirdnames bfs_diff -follow ',' -print } -function test_0073() { - [ "$GNU" ] || return 0 +function test_fprint() { if [ "$UPDATE" ]; then - $BFS basic -fprint "$TESTS/test_0073.out" - sort -o "$TESTS/test_0073.out" "$TESTS/test_0073.out" + $BFS basic -fprint "$TESTS/test_fprint.out" + sort -o "$TESTS/test_fprint.out" "$TESTS/test_fprint.out" else - $BFS basic -fprint scratch/test_0073.out - sort -o scratch/test_0073.out scratch/test_0073.out - diff -u scratch/test_0073.out "$TESTS/test_0073.out" + $BFS basic -fprint scratch/test_fprint.out + sort -o scratch/test_fprint.out scratch/test_fprint.out + diff -u scratch/test_fprint.out "$TESTS/test_fprint.out" fi } -function test_0074() { - [ "$BSD" -o "$GNU" ] || return 0 +function test_double_dash() { cd basic bfs_diff -- . -type f } -function test_0075() { - [ "$BSD" -o "$GNU" ] || return 0 +function test_flag_double_dash() { cd basic bfs_diff -L -- . -type f } -function test_0076() { - [ "$GNU" ] || return 0 - - # Make sure -ignore_readdir_race doesn't suppress ENOENT at the root - ! $BFS basic/nonexistent -ignore_readdir_race 2>/dev/null -} - -function test_0077() { - [ "$GNU" ] || return 0 - +function test_ignore_readdir_race() { rm -rf scratch/* touch scratch/{foo,bar} @@ -535,364 +721,299 @@ function test_0077() { $BFS scratch -mindepth 1 -ignore_readdir_race -links 1 -exec "$TESTS/remove-sibling.sh" '{}' ';' } -function test_0078() { +function test_ignore_readdir_race_root() { + # Make sure -ignore_readdir_race doesn't suppress ENOENT at the root + ! $BFS basic/nonexistent -ignore_readdir_race 2>/dev/null +} + +function test_perm_222() { bfs_diff perms -perm 222 } -function test_0079() { +function test_perm_222_minus() { bfs_diff perms -perm -222 } -function test_0080() { - [ "$GNU" ] || return 0 +function test_perm_222_slash() { bfs_diff perms -perm /222 } -function test_0081() { +function test_perm_644() { bfs_diff perms -perm 644 } -function test_0082() { +function test_perm_644_minus() { bfs_diff perms -perm -644 } -function test_0083() { - [ "$GNU" ] || return 0 +function test_perm_644_slash() { bfs_diff perms -perm /644 } -function test_0084() { +function test_perm_symbolic() { bfs_diff perms -perm a+r,u=wX,g+wX-w } -function test_0085() { +function test_perm_symbolic_minus() { bfs_diff perms -perm -a+r,u=wX,g+wX-w } -function test_0086() { - [ "$GNU" ] || return 0 +function test_perm_symbolic_slash() { bfs_diff perms -perm /a+r,u=wX,g+wX-w } -function test_0087() { - [ "$ALL" ] || return 0 +function test_perm_symbolic_trailing_comma() { ! $BFS perms -perm a+r, 2>/dev/null } -function test_0088() { - [ "$ALL" ] || return 0 +function test_perm_symbolic_double_comma() { ! $BFS perms -perm a+r,,u+w 2>/dev/null } -function test_0089() { - [ "$ALL" ] || return 0 +function test_perm_symbolic_missing_action() { ! $BFS perms -perm a 2>/dev/null } -function test_0090() { - bfs_diff perms -perm -+rwx +function test_perm_leading_plus_symbolic() { + bfs_diff perms -perm +rwx } -function test_0091() { - [ "$GNU" ] || return 0 - bfs_diff perms -perm /+rwx +function test_perm_leading_plus_symbolic_minus() { + bfs_diff perms -perm -+rwx } -function test_0092() { - [ "$ALL" ] || return 0 - bfs_diff perms -perm +rwx +function test_perm_leading_plus_symbolic_slash() { + bfs_diff perms -perm /+rwx } -function test_0093() { - [ "$ALL" ] || return 0 +function test_perm_octal_plus() { ! $BFS perms -perm +777 2>/dev/null } -function test_0094() { - [ "$BSD" ] || return 0 +function test_ok_stdin() { # -ok should *not* close stdin # See https://savannah.gnu.org/bugs/?24561 yes | bfs_diff basic -ok bash -c "printf '%s? ' {} && head -n1" \; 2>/dev/null } -function test_0095() { - [ "$BSD" ] || return 0 +function test_okdir_stdin() { # -okdir should *not* close stdin yes | bfs_diff basic -okdir bash -c "printf '%s? ' {} && head -n1" \; 2>/dev/null } -function test_0096() { - bfs_diff basic/ -depth -} - -function test_0097() { - [ "$BSD" -o "$GNU" ] || return 0 +function test_delete_root() { # Don't try to delete '.' (cd scratch && $BFS . -delete) } -function test_0098() { - [ "$BSD" -o "$GNU" ] || return 0 - bfs_diff / -maxdepth 0 -execdir pwd ';' -} - -function test_0099() { - [ "$BSD" -o "$GNU" ] || return 0 +function test_execdir_slash() { # Don't prepend ./ for absolute paths in -execdir bfs_diff / -maxdepth 0 -execdir echo '{}' ';' } -function test_0100() { - [ "$ALL" ] || return 0 +function test_execdir_slash_pwd() { + bfs_diff / -maxdepth 0 -execdir pwd ';' +} + +function test_execdir_slashes() { bfs_diff /// -maxdepth 0 -execdir echo '{}' ';' } -function test_0101() { - [ "$BSD" -o "$GNU" ] || return 0 +function test_regex() { bfs_diff basic -regex 'basic/./.' } -function test_0102() { - [ "$BSD" -o "$GNU" ] || return 0 +function test_iregex() { bfs_diff basic -iregex 'basic/[A-Z]/[a-z]' } -function test_0103() { - [ "$BSD" -o "$GNU" ] || return 0 +function test_regex_parens() { cd weirdnames bfs_diff . -regex '\./\((\)' } -function test_0104() { - [ "$BSD" ] || return 0 +function test_E() { cd weirdnames bfs_diff -E . -regex '\./(\()' } -function test_0105() { - [ "$GNU" ] || return 0 +function test_regextype_posix_basic() { cd weirdnames bfs_diff -regextype posix-basic -regex '\./\((\)' } -function test_0106() { - [ "$GNU" ] || return 0 +function test_regextype_posix_extended() { cd weirdnames bfs_diff -regextype posix-extended -regex '\./(\()' } -function test_0107() { - [ "$BSD" ] || return 0 +function test_d_path() { bfs_diff -d basic } -function test_0108() { - [ "$GNU" ] || return 0 - bfs_diff basic -d 2>/dev/null +function test_path_d() { + bfs_diff basic -d } -function test_0109() { - [ "$BSD" ] || return 0 +function test_f() { cd weirdnames bfs_diff -f '-' -f '(' } -function test_0110() { - [ "$ALL" ] || return 0 +function test_hidden() { bfs_diff weirdnames -hidden } -function test_0111() { - [ "$ALL" ] || return 0 +function test_nohidden() { bfs_diff weirdnames -nohidden } -function test_0112() { - [ "$BSD" ] || return 0 +function test_depth_n() { bfs_diff basic -depth 2 } -function test_0113() { - [ "$BSD" ] || return 0 +function test_depth_n_plus() { bfs_diff basic -depth +2 } -function test_0114() { - [ "$BSD" ] || return 0 +function test_depth_n_minus() { bfs_diff basic -depth -2 } -function test_0115() { - [ "$BSD" ] || return 0 +function test_depth_depth_n() { bfs_diff basic -depth -depth 2 } -function test_0116() { - [ "$BSD" ] || return 0 +function test_depth_depth_n_plus() { bfs_diff basic -depth -depth +2 } -function test_0117() { - [ "$BSD" ] || return 0 +function test_depth_depth_n_minus() { bfs_diff basic -depth -depth -2 } -function test_0118() { - [ "$BSD" ] || return 0 +function test_gid_name() { bfs_diff basic -gid "$(id -gn)" } -function test_0119() { - [ "$BSD" ] || return 0 +function test_uid_name() { bfs_diff basic -uid "$(id -un)" } -function test_0120() { - [ "$BSD" ] || return 0 +function test_mnewer() { bfs_diff times -mnewer times/a } -function test_0121() { - [ "$BSD" ] || return 0 +function test_H_mnewer() { bfs_diff -H times -mnewer times/l } -function test_0122() { - [ "$BSD" ] || return 0 +function test_size_T() { bfs_diff basic -type f -size 1T } -function test_0123() { - [ "$BSD" -o "$GNU" ] || return 0 +function test_quit() { bfs_diff basic/g -print -name g -quit } -function test_0124() { - [ "$BSD" -o "$GNU" ] || return 0 +function test_quit_child() { bfs_diff basic/g -print -name h -quit } -function test_0125() { - [ "$BSD" -o "$GNU" ] || return 0 +function test_quit_depth() { bfs_diff basic/g -depth -print -name g -quit } -function test_0126() { - [ "$BSD" -o "$GNU" ] || return 0 +function test_quit_depth_child() { bfs_diff basic/g -depth -print -name h -quit } -function test_0127() { - [ "$BSD" -o "$GNU" ] || return 0 +function test_quit_after_print() { + bfs_diff basic basic -print -quit +} + +function test_quit_before_print() { + bfs_diff basic basic -quit -print +} +function test_inum() { local inode="$(ls -id basic/k/foo/bar | cut -f1 -d' ')" bfs_diff basic -inum "$inode" } -function test_0128() { - [ "$BSD" -o "$GNU" ] || return 0 +function test_nogroup() { bfs_diff basic -nogroup } -function test_0129() { - [ "$BSD" -o "$GNU" ] || return 0 +function test_nouser() { bfs_diff basic -nouser } -function test_0130() { - [ "$GNU" ] || return 0 +function test_printf() { bfs_diff basic -printf '%%p(%p) %%d(%d) %%f(%f) %%h(%h) %%H(%H) %%P(%P) %%m(%m) %%M(%M) %%y(%y)\n' } -function test_0131() { - [ "$GNU" ] || return 0 +function test_printf_slash() { bfs_diff / -maxdepth 0 -printf '(%h)/(%f)\n' } -function test_0132() { - [ "$GNU" ] || return 0 +function test_printf_slashes() { bfs_diff /// -maxdepth 0 -printf '(%h)/(%f)\n' } -function test_0133() { - [ "$GNU" ] || return 0 +function test_printf_trailing_slash() { bfs_diff basic/ -printf '(%h)/(%f)\n' } -function test_0134() { - [ "$GNU" ] || return 0 +function test_printf_trailing_slashes() { bfs_diff basic/// -printf '(%h)/(%f)\n' } -function test_0135() { - [ "$GNU" ] || return 0 +function test_printf_flags() { bfs_diff basic -printf '|%- 10.10p| %+03d %#4m\n' } -function test_0136() { - [ "$GNU" ] || return 0 +function test_printf_types() { bfs_diff links -printf '(%p) (%l) %y %Y\n' } -function test_0137() { - [ "$GNU" ] || return 0 +function test_printf_escapes() { bfs_diff basic -maxdepth 0 -printf '\18\118\1118\11118\n\cfoo' } -function test_0138() { - bfs_diff basic/g -depth -name g -} - -function test_0139() { - [ "$BSD" -o "$GNU" ] || return 0 - bfs_diff basic basic -print -quit -} - -function test_0140() { - [ "$BSD" -o "$GNU" ] || return 0 - bfs_diff basic basic -quit -print -} - -function test_0141() { +function test_printf_leak() { # Memory leak regression test - [ "$GNU" ] || return 0 bfs_diff basic -maxdepth 0 -printf '%p' } -function test_0142() { - [ "$ALL" ] || return 0 - bfs_diff links -type f,d,c -} - -function test_0143() { - [ "$ALL" ] || return 0 - bfs_diff links -xtype f,d,c -} - result=0 -for i in {1..143}; do - test="test_$(printf '%04d' $i)" - +for test in "${!run_tests[@]}"; do if [ -t 1 ]; then - printf '\r%s' "$test" + printf '\r\033[J%s' "$test" + else + echo "$test" fi ("$test" "$dir") status=$? if [ $status -ne 0 ]; then - if [ -t 1 ]; then - printf '\r%s failed!\n' "$test" - else - printf '%s failed!\n' "$test" - fi + echo "$test failed!" result=$status fi done +if [ $result -eq 0 ]; then + status=passed +else + status=failed +fi + if [ -t 1 ]; then - printf '\n' + printf '\r\033[Jtests %s\n' "$status" +else + echo "tests $status" fi exit $result diff --git a/tests/test_0001.out b/tests/test_0001.out deleted file mode 100644 index bb3cd8d..0000000 --- a/tests/test_0001.out +++ /dev/null @@ -1,19 +0,0 @@ -basic -basic/a -basic/b -basic/c -basic/e -basic/g -basic/i -basic/j -basic/k -basic/l -basic/c/d -basic/e/f -basic/g/h -basic/j/foo -basic/k/foo -basic/l/foo -basic/k/foo/bar -basic/l/foo/bar -basic/l/foo/bar/baz diff --git a/tests/test_0002.out b/tests/test_0002.out deleted file mode 100644 index 1e72fd9..0000000 --- a/tests/test_0002.out +++ /dev/null @@ -1,12 +0,0 @@ -basic -basic/c -basic/e -basic/g -basic/i -basic/j -basic/k -basic/l -basic/g/h -basic/k/foo -basic/l/foo -basic/l/foo/bar diff --git a/tests/test_0003.out b/tests/test_0003.out deleted file mode 100644 index 6218a0c..0000000 --- a/tests/test_0003.out +++ /dev/null @@ -1,7 +0,0 @@ -basic/a -basic/b -basic/c/d -basic/e/f -basic/j/foo -basic/k/foo/bar -basic/l/foo/bar/baz diff --git a/tests/test_0004.out b/tests/test_0004.out deleted file mode 100644 index 1f00c58..0000000 --- a/tests/test_0004.out +++ /dev/null @@ -1,18 +0,0 @@ -basic/a -basic/b -basic/c -basic/e -basic/g -basic/i -basic/j -basic/k -basic/l -basic/c/d -basic/e/f -basic/g/h -basic/j/foo -basic/k/foo -basic/l/foo -basic/k/foo/bar -basic/l/foo/bar -basic/l/foo/bar/baz diff --git a/tests/test_0005.out b/tests/test_0005.out deleted file mode 100644 index 7575ae4..0000000 --- a/tests/test_0005.out +++ /dev/null @@ -1,10 +0,0 @@ -basic -basic/a -basic/b -basic/c -basic/e -basic/g -basic/i -basic/j -basic/k -basic/l diff --git a/tests/test_0006.out b/tests/test_0006.out deleted file mode 100644 index 1f00c58..0000000 --- a/tests/test_0006.out +++ /dev/null @@ -1,18 +0,0 @@ -basic/a -basic/b -basic/c -basic/e -basic/g -basic/i -basic/j -basic/k -basic/l -basic/c/d -basic/e/f -basic/g/h -basic/j/foo -basic/k/foo -basic/l/foo -basic/k/foo/bar -basic/l/foo/bar -basic/l/foo/bar/baz diff --git a/tests/test_0007.out b/tests/test_0007.out deleted file mode 100644 index 4198bf9..0000000 --- a/tests/test_0007.out +++ /dev/null @@ -1,9 +0,0 @@ -basic/c/d -basic/e/f -basic/g/h -basic/j/foo -basic/k/foo -basic/l/foo -basic/k/foo/bar -basic/l/foo/bar -basic/l/foo/bar/baz diff --git a/tests/test_0008.out b/tests/test_0008.out deleted file mode 100644 index 7575ae4..0000000 --- a/tests/test_0008.out +++ /dev/null @@ -1,10 +0,0 @@ -basic -basic/a -basic/b -basic/c -basic/e -basic/g -basic/i -basic/j -basic/k -basic/l diff --git a/tests/test_0009.out b/tests/test_0009.out deleted file mode 100644 index b79fef1..0000000 --- a/tests/test_0009.out +++ /dev/null @@ -1,16 +0,0 @@ -basic -basic/a -basic/b -basic/c -basic/e -basic/g -basic/i -basic/j -basic/k -basic/l -basic/c/d -basic/e/f -basic/g/h -basic/j/foo -basic/k/foo -basic/l/foo diff --git a/tests/test_0010.out b/tests/test_0010.out deleted file mode 100644 index a9e5d42..0000000 --- a/tests/test_0010.out +++ /dev/null @@ -1,4 +0,0 @@ -basic/e/f -basic/j/foo -basic/k/foo -basic/l/foo diff --git a/tests/test_0011.out b/tests/test_0011.out deleted file mode 100644 index 0d36df9..0000000 --- a/tests/test_0011.out +++ /dev/null @@ -1,7 +0,0 @@ -basic/e/f -basic/j/foo -basic/k/foo -basic/l/foo -basic/k/foo/bar -basic/l/foo/bar -basic/l/foo/bar/baz diff --git a/tests/test_0012.out b/tests/test_0012.out deleted file mode 100644 index 49c1b21..0000000 --- a/tests/test_0012.out +++ /dev/null @@ -1,4 +0,0 @@ -perms -perms/rwx -perms/rx -perms/wx diff --git a/tests/test_0013.out b/tests/test_0013.out deleted file mode 100644 index 386feba..0000000 --- a/tests/test_0013.out +++ /dev/null @@ -1,5 +0,0 @@ -perms -perms/r -perms/rw -perms/rwx -perms/rx diff --git a/tests/test_0014.out b/tests/test_0014.out deleted file mode 100644 index 9a5b95a..0000000 --- a/tests/test_0014.out +++ /dev/null @@ -1,5 +0,0 @@ -perms -perms/rw -perms/rwx -perms/w -perms/wx diff --git a/tests/test_0015.out b/tests/test_0015.out deleted file mode 100644 index 81bdb0a..0000000 --- a/tests/test_0015.out +++ /dev/null @@ -1,8 +0,0 @@ -basic/a -basic/b -basic/i -basic/c/d -basic/e/f -basic/g/h -basic/j/foo -basic/k/foo/bar diff --git a/tests/test_0016.out b/tests/test_0016.out deleted file mode 100644 index bb3cd8d..0000000 --- a/tests/test_0016.out +++ /dev/null @@ -1,19 +0,0 @@ -basic -basic/a -basic/b -basic/c -basic/e -basic/g -basic/i -basic/j -basic/k -basic/l -basic/c/d -basic/e/f -basic/g/h -basic/j/foo -basic/k/foo -basic/l/foo -basic/k/foo/bar -basic/l/foo/bar -basic/l/foo/bar/baz diff --git a/tests/test_0017.out b/tests/test_0017.out deleted file mode 100644 index bb3cd8d..0000000 --- a/tests/test_0017.out +++ /dev/null @@ -1,19 +0,0 @@ -basic -basic/a -basic/b -basic/c -basic/e -basic/g -basic/i -basic/j -basic/k -basic/l -basic/c/d -basic/e/f -basic/g/h -basic/j/foo -basic/k/foo -basic/l/foo -basic/k/foo/bar -basic/l/foo/bar -basic/l/foo/bar/baz diff --git a/tests/test_0018.out b/tests/test_0018.out deleted file mode 100644 index bb3cd8d..0000000 --- a/tests/test_0018.out +++ /dev/null @@ -1,19 +0,0 @@ -basic -basic/a -basic/b -basic/c -basic/e -basic/g -basic/i -basic/j -basic/k -basic/l -basic/c/d -basic/e/f -basic/g/h -basic/j/foo -basic/k/foo -basic/l/foo -basic/k/foo/bar -basic/l/foo/bar -basic/l/foo/bar/baz diff --git a/tests/test_0019.out b/tests/test_0019.out deleted file mode 100644 index bb3cd8d..0000000 --- a/tests/test_0019.out +++ /dev/null @@ -1,19 +0,0 @@ -basic -basic/a -basic/b -basic/c -basic/e -basic/g -basic/i -basic/j -basic/k -basic/l -basic/c/d -basic/e/f -basic/g/h -basic/j/foo -basic/k/foo -basic/l/foo -basic/k/foo/bar -basic/l/foo/bar -basic/l/foo/bar/baz diff --git a/tests/test_0020.out b/tests/test_0020.out deleted file mode 100644 index bb3cd8d..0000000 --- a/tests/test_0020.out +++ /dev/null @@ -1,19 +0,0 @@ -basic -basic/a -basic/b -basic/c -basic/e -basic/g -basic/i -basic/j -basic/k -basic/l -basic/c/d -basic/e/f -basic/g/h -basic/j/foo -basic/k/foo -basic/l/foo -basic/k/foo/bar -basic/l/foo/bar -basic/l/foo/bar/baz diff --git a/tests/test_0021.out b/tests/test_0021.out deleted file mode 100644 index bb3cd8d..0000000 --- a/tests/test_0021.out +++ /dev/null @@ -1,19 +0,0 @@ -basic -basic/a -basic/b -basic/c -basic/e -basic/g -basic/i -basic/j -basic/k -basic/l -basic/c/d -basic/e/f -basic/g/h -basic/j/foo -basic/k/foo -basic/l/foo -basic/k/foo/bar -basic/l/foo/bar -basic/l/foo/bar/baz diff --git a/tests/test_0022.out b/tests/test_0022.out deleted file mode 100644 index 7f6c0dd..0000000 --- a/tests/test_0022.out +++ /dev/null @@ -1,4 +0,0 @@ -times -times/b -times/c -times/l diff --git a/tests/test_0023.out b/tests/test_0023.out deleted file mode 100644 index 7f6c0dd..0000000 --- a/tests/test_0023.out +++ /dev/null @@ -1,4 +0,0 @@ -times -times/b -times/c -times/l diff --git a/tests/test_0024.out b/tests/test_0024.out deleted file mode 100644 index 892c879..0000000 --- a/tests/test_0024.out +++ /dev/null @@ -1,2 +0,0 @@ -links/a -links/c diff --git a/tests/test_0025.out b/tests/test_0025.out deleted file mode 100644 index e69de29..0000000 diff --git a/tests/test_0026.out b/tests/test_0026.out deleted file mode 100644 index 892c879..0000000 --- a/tests/test_0026.out +++ /dev/null @@ -1,2 +0,0 @@ -links/a -links/c diff --git a/tests/test_0027.out b/tests/test_0027.out deleted file mode 100644 index a4beda4..0000000 --- a/tests/test_0027.out +++ /dev/null @@ -1 +0,0 @@ -links/d/e/f diff --git a/tests/test_0028.out b/tests/test_0028.out deleted file mode 100644 index 0a4fc77..0000000 --- a/tests/test_0028.out +++ /dev/null @@ -1 +0,0 @@ -links/d/e/f/ diff --git a/tests/test_0029.out b/tests/test_0029.out deleted file mode 100644 index a4beda4..0000000 --- a/tests/test_0029.out +++ /dev/null @@ -1 +0,0 @@ -links/d/e/f diff --git a/tests/test_0030.out b/tests/test_0030.out deleted file mode 100644 index 0a4fc77..0000000 --- a/tests/test_0030.out +++ /dev/null @@ -1 +0,0 @@ -links/d/e/f/ diff --git a/tests/test_0031.out b/tests/test_0031.out deleted file mode 100644 index 7f6c0dd..0000000 --- a/tests/test_0031.out +++ /dev/null @@ -1,4 +0,0 @@ -times -times/b -times/c -times/l diff --git a/tests/test_0032.out b/tests/test_0032.out deleted file mode 100644 index e5e13fc..0000000 --- a/tests/test_0032.out +++ /dev/null @@ -1 +0,0 @@ -links/d/e/i diff --git a/tests/test_0033.out b/tests/test_0033.out deleted file mode 100644 index 36087e8..0000000 --- a/tests/test_0033.out +++ /dev/null @@ -1,12 +0,0 @@ -links -links/a -links/b -links/c -links/d -links/h -links/d/e -links/h/f -links/h/g -links/h/i -links/d/e/f -links/d/e/i diff --git a/tests/test_0034.out b/tests/test_0034.out deleted file mode 100644 index 36087e8..0000000 --- a/tests/test_0034.out +++ /dev/null @@ -1,12 +0,0 @@ -links -links/a -links/b -links/c -links/d -links/h -links/d/e -links/h/f -links/h/g -links/h/i -links/d/e/f -links/d/e/i diff --git a/tests/test_0035.out b/tests/test_0035.out deleted file mode 100644 index 36087e8..0000000 --- a/tests/test_0035.out +++ /dev/null @@ -1,12 +0,0 @@ -links -links/a -links/b -links/c -links/d -links/h -links/d/e -links/h/f -links/h/g -links/h/i -links/d/e/f -links/d/e/i diff --git a/tests/test_0036.out b/tests/test_0036.out deleted file mode 100644 index 892c879..0000000 --- a/tests/test_0036.out +++ /dev/null @@ -1,2 +0,0 @@ -links/a -links/c diff --git a/tests/test_0037.out b/tests/test_0037.out deleted file mode 100644 index e5e13fc..0000000 --- a/tests/test_0037.out +++ /dev/null @@ -1 +0,0 @@ -links/d/e/i diff --git a/tests/test_0038.out b/tests/test_0038.out deleted file mode 100644 index 2a65132..0000000 --- a/tests/test_0038.out +++ /dev/null @@ -1,3 +0,0 @@ -links/a -links/b -links/c diff --git a/tests/test_0039.out b/tests/test_0039.out deleted file mode 100644 index 1052fc0..0000000 --- a/tests/test_0039.out +++ /dev/null @@ -1,5 +0,0 @@ -links/b -links/h -links/h/g -links/h/i -links/d/e/i diff --git a/tests/test_0040.out b/tests/test_0040.out deleted file mode 100644 index 892c879..0000000 --- a/tests/test_0040.out +++ /dev/null @@ -1,2 +0,0 @@ -links/a -links/c diff --git a/tests/test_0041.out b/tests/test_0041.out deleted file mode 100644 index 511198f..0000000 --- a/tests/test_0041.out +++ /dev/null @@ -1 +0,0 @@ -basic/a diff --git a/tests/test_0042.out b/tests/test_0042.out deleted file mode 100644 index daff2f5..0000000 --- a/tests/test_0042.out +++ /dev/null @@ -1 +0,0 @@ -basic/g/ diff --git a/tests/test_0043.out b/tests/test_0043.out deleted file mode 100644 index b498fd4..0000000 --- a/tests/test_0043.out +++ /dev/null @@ -1 +0,0 @@ -/ diff --git a/tests/test_0044.out b/tests/test_0044.out deleted file mode 100644 index 187b81f..0000000 --- a/tests/test_0044.out +++ /dev/null @@ -1 +0,0 @@ -/// diff --git a/tests/test_0045.out b/tests/test_0045.out deleted file mode 100644 index a9e5d42..0000000 --- a/tests/test_0045.out +++ /dev/null @@ -1,4 +0,0 @@ -basic/e/f -basic/j/foo -basic/k/foo -basic/l/foo diff --git a/tests/test_0046.out b/tests/test_0046.out deleted file mode 100644 index 0d36df9..0000000 --- a/tests/test_0046.out +++ /dev/null @@ -1,7 +0,0 @@ -basic/e/f -basic/j/foo -basic/k/foo -basic/l/foo -basic/k/foo/bar -basic/l/foo/bar -basic/l/foo/bar/baz diff --git a/tests/test_0047.out b/tests/test_0047.out deleted file mode 100644 index 45cc127..0000000 --- a/tests/test_0047.out +++ /dev/null @@ -1,2 +0,0 @@ -links/b -links/d/e/i diff --git a/tests/test_0048.out b/tests/test_0048.out deleted file mode 100644 index 45cc127..0000000 --- a/tests/test_0048.out +++ /dev/null @@ -1,2 +0,0 @@ -links/b -links/d/e/i diff --git a/tests/test_0049.out b/tests/test_0049.out deleted file mode 100644 index b7e42dd..0000000 --- a/tests/test_0049.out +++ /dev/null @@ -1,2 +0,0 @@ -links/h/i -links/d/e/i diff --git a/tests/test_0050.out b/tests/test_0050.out deleted file mode 100644 index b7e42dd..0000000 --- a/tests/test_0050.out +++ /dev/null @@ -1,2 +0,0 @@ -links/h/i -links/d/e/i diff --git a/tests/test_0051.out b/tests/test_0051.out deleted file mode 100644 index bb3cd8d..0000000 --- a/tests/test_0051.out +++ /dev/null @@ -1,19 +0,0 @@ -basic -basic/a -basic/b -basic/c -basic/e -basic/g -basic/i -basic/j -basic/k -basic/l -basic/c/d -basic/e/f -basic/g/h -basic/j/foo -basic/k/foo -basic/l/foo -basic/k/foo/bar -basic/l/foo/bar -basic/l/foo/bar/baz diff --git a/tests/test_0052.out b/tests/test_0052.out deleted file mode 100644 index bb3cd8d..0000000 --- a/tests/test_0052.out +++ /dev/null @@ -1,19 +0,0 @@ -basic -basic/a -basic/b -basic/c -basic/e -basic/g -basic/i -basic/j -basic/k -basic/l -basic/c/d -basic/e/f -basic/g/h -basic/j/foo -basic/k/foo -basic/l/foo -basic/k/foo/bar -basic/l/foo/bar -basic/l/foo/bar/baz diff --git a/tests/test_0053.out b/tests/test_0053.out deleted file mode 100644 index bb3cd8d..0000000 --- a/tests/test_0053.out +++ /dev/null @@ -1,19 +0,0 @@ -basic -basic/a -basic/b -basic/c -basic/e -basic/g -basic/i -basic/j -basic/k -basic/l -basic/c/d -basic/e/f -basic/g/h -basic/j/foo -basic/k/foo -basic/l/foo -basic/k/foo/bar -basic/l/foo/bar -basic/l/foo/bar/baz diff --git a/tests/test_0054.out b/tests/test_0054.out deleted file mode 100644 index bb3cd8d..0000000 --- a/tests/test_0054.out +++ /dev/null @@ -1,19 +0,0 @@ -basic -basic/a -basic/b -basic/c -basic/e -basic/g -basic/i -basic/j -basic/k -basic/l -basic/c/d -basic/e/f -basic/g/h -basic/j/foo -basic/k/foo -basic/l/foo -basic/k/foo/bar -basic/l/foo/bar -basic/l/foo/bar/baz diff --git a/tests/test_0055.out b/tests/test_0055.out deleted file mode 100644 index bb3cd8d..0000000 --- a/tests/test_0055.out +++ /dev/null @@ -1,19 +0,0 @@ -basic -basic/a -basic/b -basic/c -basic/e -basic/g -basic/i -basic/j -basic/k -basic/l -basic/c/d -basic/e/f -basic/g/h -basic/j/foo -basic/k/foo -basic/l/foo -basic/k/foo/bar -basic/l/foo/bar -basic/l/foo/bar/baz diff --git a/tests/test_0056.out b/tests/test_0056.out deleted file mode 100644 index bb3cd8d..0000000 --- a/tests/test_0056.out +++ /dev/null @@ -1,19 +0,0 @@ -basic -basic/a -basic/b -basic/c -basic/e -basic/g -basic/i -basic/j -basic/k -basic/l -basic/c/d -basic/e/f -basic/g/h -basic/j/foo -basic/k/foo -basic/l/foo -basic/k/foo/bar -basic/l/foo/bar -basic/l/foo/bar/baz diff --git a/tests/test_0057.out b/tests/test_0057.out deleted file mode 100644 index 7f6c0dd..0000000 --- a/tests/test_0057.out +++ /dev/null @@ -1,4 +0,0 @@ -times -times/b -times/c -times/l diff --git a/tests/test_0058.out b/tests/test_0058.out deleted file mode 100644 index eeabbd7..0000000 --- a/tests/test_0058.out +++ /dev/null @@ -1,6 +0,0 @@ -basic/a -basic/b -basic/c/d -basic/e/f -basic/j/foo -basic/k/foo/bar diff --git a/tests/test_0059.out b/tests/test_0059.out deleted file mode 100644 index 279f3f1..0000000 --- a/tests/test_0059.out +++ /dev/null @@ -1 +0,0 @@ -basic/l/foo/bar/baz diff --git a/tests/test_0060.out b/tests/test_0060.out deleted file mode 100644 index 279f3f1..0000000 --- a/tests/test_0060.out +++ /dev/null @@ -1 +0,0 @@ -basic/l/foo/bar/baz diff --git a/tests/test_0061.out b/tests/test_0061.out deleted file mode 100644 index e69de29..0000000 diff --git a/tests/test_0062.out b/tests/test_0062.out deleted file mode 100644 index bb3cd8d..0000000 --- a/tests/test_0062.out +++ /dev/null @@ -1,19 +0,0 @@ -basic -basic/a -basic/b -basic/c -basic/e -basic/g -basic/i -basic/j -basic/k -basic/l -basic/c/d -basic/e/f -basic/g/h -basic/j/foo -basic/k/foo -basic/l/foo -basic/k/foo/bar -basic/l/foo/bar -basic/l/foo/bar/baz diff --git a/tests/test_0063.out b/tests/test_0063.out deleted file mode 100644 index 1c58fb2..0000000 --- a/tests/test_0063.out +++ /dev/null @@ -1,19 +0,0 @@ --basic- --basic/a- --basic/b- --basic/c- --basic/e- --basic/g- --basic/i- --basic/j- --basic/k- --basic/l- --basic/c/d- --basic/e/f- --basic/g/h- --basic/j/foo- --basic/k/foo- --basic/l/foo- --basic/k/foo/bar- --basic/l/foo/bar- --basic/l/foo/bar/baz- diff --git a/tests/test_0064.out b/tests/test_0064.out deleted file mode 100644 index e66db9a..0000000 --- a/tests/test_0064.out +++ /dev/null @@ -1,19 +0,0 @@ - -basic -basic -basic -basic -basic -basic -basic -basic -basic -basic/c -basic/e -basic/g -basic/j -basic/k -basic/l -basic/k/foo -basic/l/foo -basic/l/foo/bar diff --git a/tests/test_0065.out b/tests/test_0065.out deleted file mode 100644 index 62b31f6..0000000 --- a/tests/test_0065.out +++ /dev/null @@ -1,19 +0,0 @@ -./a -./b -./bar -./bar -./basic -./baz -./c -./d -./e -./f -./foo -./foo -./foo -./g -./h -./i -./j -./k -./l diff --git a/tests/test_0066.out b/tests/test_0066.out deleted file mode 100644 index f7a9ac0..0000000 --- a/tests/test_0066.out +++ /dev/null @@ -1,19 +0,0 @@ --./a- --./b- --./bar- --./bar- --./basic- --./baz- --./c- --./d- --./e- --./f- --./foo- --./foo- --./foo- --./g- --./h- --./i- --./j- --./k- --./l- diff --git a/tests/test_0067.out b/tests/test_0067.out deleted file mode 100644 index a9e5d42..0000000 --- a/tests/test_0067.out +++ /dev/null @@ -1,4 +0,0 @@ -basic/e/f -basic/j/foo -basic/k/foo -basic/l/foo diff --git a/tests/test_0068.out b/tests/test_0068.out deleted file mode 100644 index 56b2bde..0000000 --- a/tests/test_0068.out +++ /dev/null @@ -1,23 +0,0 @@ -basic -basic/a -basic/b -basic/c -basic/e -basic/g -basic/i -basic/j -basic/k -basic/l -basic/c/d -basic/e/f -basic/e/f -basic/g/h -basic/j/foo -basic/j/foo -basic/k/foo -basic/k/foo -basic/l/foo -basic/l/foo -basic/k/foo/bar -basic/l/foo/bar -basic/l/foo/bar/baz diff --git a/tests/test_0069.out b/tests/test_0069.out deleted file mode 100644 index 73d0ff3..0000000 --- a/tests/test_0069.out +++ /dev/null @@ -1,28 +0,0 @@ -!- -!- -(- -(- -) -) -, -, -- -- -!-/e -!-/e -(-/c -(-/c -)/g -)/g -,/f -,/f --/a --/a -./! -./! -./( -./( -./!/d -./!/d -./(/b -./(/b diff --git a/tests/test_0070.out b/tests/test_0070.out deleted file mode 100644 index 73d0ff3..0000000 --- a/tests/test_0070.out +++ /dev/null @@ -1,28 +0,0 @@ -!- -!- -(- -(- -) -) -, -, -- -- -!-/e -!-/e -(-/c -(-/c -)/g -)/g -,/f -,/f --/a --/a -./! -./! -./( -./( -./!/d -./!/d -./(/b -./(/b diff --git a/tests/test_0071.out b/tests/test_0071.out deleted file mode 100644 index 3574388..0000000 --- a/tests/test_0071.out +++ /dev/null @@ -1,2 +0,0 @@ -, -,/f diff --git a/tests/test_0072.out b/tests/test_0072.out deleted file mode 100644 index a4d5860..0000000 --- a/tests/test_0072.out +++ /dev/null @@ -1,17 +0,0 @@ -. -./! -./!- -./( -./(- -./) -./, -./- -./... -./!-/e -./!/d -./(-/c -./(/b -./)/g -./,/f -./-/a -./.../h diff --git a/tests/test_0073.out b/tests/test_0073.out deleted file mode 100644 index a7ccfe4..0000000 --- a/tests/test_0073.out +++ /dev/null @@ -1,19 +0,0 @@ -basic -basic/a -basic/b -basic/c -basic/c/d -basic/e -basic/e/f -basic/g -basic/g/h -basic/i -basic/j -basic/j/foo -basic/k -basic/k/foo -basic/k/foo/bar -basic/l -basic/l/foo -basic/l/foo/bar -basic/l/foo/bar/baz diff --git a/tests/test_0074.out b/tests/test_0074.out deleted file mode 100644 index 774cc7c..0000000 --- a/tests/test_0074.out +++ /dev/null @@ -1,7 +0,0 @@ -./a -./b -./c/d -./e/f -./j/foo -./k/foo/bar -./l/foo/bar/baz diff --git a/tests/test_0075.out b/tests/test_0075.out deleted file mode 100644 index 774cc7c..0000000 --- a/tests/test_0075.out +++ /dev/null @@ -1,7 +0,0 @@ -./a -./b -./c/d -./e/f -./j/foo -./k/foo/bar -./l/foo/bar/baz diff --git a/tests/test_0078.out b/tests/test_0078.out deleted file mode 100644 index 1690e43..0000000 --- a/tests/test_0078.out +++ /dev/null @@ -1 +0,0 @@ -perms/w diff --git a/tests/test_0079.out b/tests/test_0079.out deleted file mode 100644 index 1690e43..0000000 --- a/tests/test_0079.out +++ /dev/null @@ -1 +0,0 @@ -perms/w diff --git a/tests/test_0080.out b/tests/test_0080.out deleted file mode 100644 index 9a5b95a..0000000 --- a/tests/test_0080.out +++ /dev/null @@ -1,5 +0,0 @@ -perms -perms/rw -perms/rwx -perms/w -perms/wx diff --git a/tests/test_0081.out b/tests/test_0081.out deleted file mode 100644 index 4e64e49..0000000 --- a/tests/test_0081.out +++ /dev/null @@ -1 +0,0 @@ -perms/rw diff --git a/tests/test_0082.out b/tests/test_0082.out deleted file mode 100644 index 2e2576b..0000000 --- a/tests/test_0082.out +++ /dev/null @@ -1,3 +0,0 @@ -perms -perms/rw -perms/rwx diff --git a/tests/test_0083.out b/tests/test_0083.out deleted file mode 100644 index 7e5ae98..0000000 --- a/tests/test_0083.out +++ /dev/null @@ -1,7 +0,0 @@ -perms -perms/r -perms/rw -perms/rwx -perms/rx -perms/w -perms/wx diff --git a/tests/test_0084.out b/tests/test_0084.out deleted file mode 100644 index e69de29..0000000 diff --git a/tests/test_0085.out b/tests/test_0085.out deleted file mode 100644 index 2e2576b..0000000 --- a/tests/test_0085.out +++ /dev/null @@ -1,3 +0,0 @@ -perms -perms/rw -perms/rwx diff --git a/tests/test_0086.out b/tests/test_0086.out deleted file mode 100644 index 7e5ae98..0000000 --- a/tests/test_0086.out +++ /dev/null @@ -1,7 +0,0 @@ -perms -perms/r -perms/rw -perms/rwx -perms/rx -perms/w -perms/wx diff --git a/tests/test_0090.out b/tests/test_0090.out deleted file mode 100644 index e69de29..0000000 diff --git a/tests/test_0091.out b/tests/test_0091.out deleted file mode 100644 index 7e5ae98..0000000 --- a/tests/test_0091.out +++ /dev/null @@ -1,7 +0,0 @@ -perms -perms/r -perms/rw -perms/rwx -perms/rx -perms/w -perms/wx diff --git a/tests/test_0092.out b/tests/test_0092.out deleted file mode 100644 index e69de29..0000000 diff --git a/tests/test_0094.out b/tests/test_0094.out deleted file mode 100644 index 30b57fd..0000000 --- a/tests/test_0094.out +++ /dev/null @@ -1,19 +0,0 @@ -basic? y -basic/a? y -basic/b? y -basic/c? y -basic/e? y -basic/g? y -basic/i? y -basic/j? y -basic/k? y -basic/l? y -basic/c/d? y -basic/e/f? y -basic/g/h? y -basic/j/foo? y -basic/k/foo? y -basic/l/foo? y -basic/k/foo/bar? y -basic/l/foo/bar? y -basic/l/foo/bar/baz? y diff --git a/tests/test_0095.out b/tests/test_0095.out deleted file mode 100644 index ef2a68b..0000000 --- a/tests/test_0095.out +++ /dev/null @@ -1,19 +0,0 @@ -./a? y -./b? y -./bar? y -./bar? y -./basic? y -./baz? y -./c? y -./d? y -./e? y -./f? y -./foo? y -./foo? y -./foo? y -./g? y -./h? y -./i? y -./j? y -./k? y -./l? y diff --git a/tests/test_0096.out b/tests/test_0096.out deleted file mode 100644 index 7ce7a82..0000000 --- a/tests/test_0096.out +++ /dev/null @@ -1,19 +0,0 @@ -basic/ -basic/a -basic/b -basic/c -basic/e -basic/g -basic/i -basic/j -basic/k -basic/l -basic/c/d -basic/e/f -basic/g/h -basic/j/foo -basic/k/foo -basic/l/foo -basic/k/foo/bar -basic/l/foo/bar -basic/l/foo/bar/baz diff --git a/tests/test_0098.out b/tests/test_0098.out deleted file mode 100644 index b498fd4..0000000 --- a/tests/test_0098.out +++ /dev/null @@ -1 +0,0 @@ -/ diff --git a/tests/test_0099.out b/tests/test_0099.out deleted file mode 100644 index b498fd4..0000000 --- a/tests/test_0099.out +++ /dev/null @@ -1 +0,0 @@ -/ diff --git a/tests/test_0100.out b/tests/test_0100.out deleted file mode 100644 index 187b81f..0000000 --- a/tests/test_0100.out +++ /dev/null @@ -1 +0,0 @@ -/// diff --git a/tests/test_0101.out b/tests/test_0101.out deleted file mode 100644 index cfc113b..0000000 --- a/tests/test_0101.out +++ /dev/null @@ -1,3 +0,0 @@ -basic/c/d -basic/e/f -basic/g/h diff --git a/tests/test_0102.out b/tests/test_0102.out deleted file mode 100644 index cfc113b..0000000 --- a/tests/test_0102.out +++ /dev/null @@ -1,3 +0,0 @@ -basic/c/d -basic/e/f -basic/g/h diff --git a/tests/test_0103.out b/tests/test_0103.out deleted file mode 100644 index 0f0971e..0000000 --- a/tests/test_0103.out +++ /dev/null @@ -1 +0,0 @@ -./( diff --git a/tests/test_0104.out b/tests/test_0104.out deleted file mode 100644 index 0f0971e..0000000 --- a/tests/test_0104.out +++ /dev/null @@ -1 +0,0 @@ -./( diff --git a/tests/test_0105.out b/tests/test_0105.out deleted file mode 100644 index 0f0971e..0000000 --- a/tests/test_0105.out +++ /dev/null @@ -1 +0,0 @@ -./( diff --git a/tests/test_0106.out b/tests/test_0106.out deleted file mode 100644 index 0f0971e..0000000 --- a/tests/test_0106.out +++ /dev/null @@ -1 +0,0 @@ -./( diff --git a/tests/test_0107.out b/tests/test_0107.out deleted file mode 100644 index bb3cd8d..0000000 --- a/tests/test_0107.out +++ /dev/null @@ -1,19 +0,0 @@ -basic -basic/a -basic/b -basic/c -basic/e -basic/g -basic/i -basic/j -basic/k -basic/l -basic/c/d -basic/e/f -basic/g/h -basic/j/foo -basic/k/foo -basic/l/foo -basic/k/foo/bar -basic/l/foo/bar -basic/l/foo/bar/baz diff --git a/tests/test_0108.out b/tests/test_0108.out deleted file mode 100644 index bb3cd8d..0000000 --- a/tests/test_0108.out +++ /dev/null @@ -1,19 +0,0 @@ -basic -basic/a -basic/b -basic/c -basic/e -basic/g -basic/i -basic/j -basic/k -basic/l -basic/c/d -basic/e/f -basic/g/h -basic/j/foo -basic/k/foo -basic/l/foo -basic/k/foo/bar -basic/l/foo/bar -basic/l/foo/bar/baz diff --git a/tests/test_0109.out b/tests/test_0109.out deleted file mode 100644 index 2998538..0000000 --- a/tests/test_0109.out +++ /dev/null @@ -1,4 +0,0 @@ -( -- -(/b --/a diff --git a/tests/test_0110.out b/tests/test_0110.out deleted file mode 100644 index e65ede9..0000000 --- a/tests/test_0110.out +++ /dev/null @@ -1 +0,0 @@ -weirdnames/... diff --git a/tests/test_0111.out b/tests/test_0111.out deleted file mode 100644 index e505d02..0000000 --- a/tests/test_0111.out +++ /dev/null @@ -1,15 +0,0 @@ -weirdnames -weirdnames/! -weirdnames/!- -weirdnames/( -weirdnames/(- -weirdnames/) -weirdnames/, -weirdnames/- -weirdnames/!-/e -weirdnames/!/d -weirdnames/(-/c -weirdnames/(/b -weirdnames/)/g -weirdnames/,/f -weirdnames/-/a diff --git a/tests/test_0112.out b/tests/test_0112.out deleted file mode 100644 index 3bfc1d3..0000000 --- a/tests/test_0112.out +++ /dev/null @@ -1,6 +0,0 @@ -basic/c/d -basic/e/f -basic/g/h -basic/j/foo -basic/k/foo -basic/l/foo diff --git a/tests/test_0113.out b/tests/test_0113.out deleted file mode 100644 index 847995d..0000000 --- a/tests/test_0113.out +++ /dev/null @@ -1,3 +0,0 @@ -basic/k/foo/bar -basic/l/foo/bar -basic/l/foo/bar/baz diff --git a/tests/test_0114.out b/tests/test_0114.out deleted file mode 100644 index 7575ae4..0000000 --- a/tests/test_0114.out +++ /dev/null @@ -1,10 +0,0 @@ -basic -basic/a -basic/b -basic/c -basic/e -basic/g -basic/i -basic/j -basic/k -basic/l diff --git a/tests/test_0115.out b/tests/test_0115.out deleted file mode 100644 index 3bfc1d3..0000000 --- a/tests/test_0115.out +++ /dev/null @@ -1,6 +0,0 @@ -basic/c/d -basic/e/f -basic/g/h -basic/j/foo -basic/k/foo -basic/l/foo diff --git a/tests/test_0116.out b/tests/test_0116.out deleted file mode 100644 index 847995d..0000000 --- a/tests/test_0116.out +++ /dev/null @@ -1,3 +0,0 @@ -basic/k/foo/bar -basic/l/foo/bar -basic/l/foo/bar/baz diff --git a/tests/test_0117.out b/tests/test_0117.out deleted file mode 100644 index 7575ae4..0000000 --- a/tests/test_0117.out +++ /dev/null @@ -1,10 +0,0 @@ -basic -basic/a -basic/b -basic/c -basic/e -basic/g -basic/i -basic/j -basic/k -basic/l diff --git a/tests/test_0118.out b/tests/test_0118.out deleted file mode 100644 index bb3cd8d..0000000 --- a/tests/test_0118.out +++ /dev/null @@ -1,19 +0,0 @@ -basic -basic/a -basic/b -basic/c -basic/e -basic/g -basic/i -basic/j -basic/k -basic/l -basic/c/d -basic/e/f -basic/g/h -basic/j/foo -basic/k/foo -basic/l/foo -basic/k/foo/bar -basic/l/foo/bar -basic/l/foo/bar/baz diff --git a/tests/test_0119.out b/tests/test_0119.out deleted file mode 100644 index bb3cd8d..0000000 --- a/tests/test_0119.out +++ /dev/null @@ -1,19 +0,0 @@ -basic -basic/a -basic/b -basic/c -basic/e -basic/g -basic/i -basic/j -basic/k -basic/l -basic/c/d -basic/e/f -basic/g/h -basic/j/foo -basic/k/foo -basic/l/foo -basic/k/foo/bar -basic/l/foo/bar -basic/l/foo/bar/baz diff --git a/tests/test_0120.out b/tests/test_0120.out deleted file mode 100644 index 7f6c0dd..0000000 --- a/tests/test_0120.out +++ /dev/null @@ -1,4 +0,0 @@ -times -times/b -times/c -times/l diff --git a/tests/test_0121.out b/tests/test_0121.out deleted file mode 100644 index 7f6c0dd..0000000 --- a/tests/test_0121.out +++ /dev/null @@ -1,4 +0,0 @@ -times -times/b -times/c -times/l diff --git a/tests/test_0122.out b/tests/test_0122.out deleted file mode 100644 index 279f3f1..0000000 --- a/tests/test_0122.out +++ /dev/null @@ -1 +0,0 @@ -basic/l/foo/bar/baz diff --git a/tests/test_0123.out b/tests/test_0123.out deleted file mode 100644 index cf4d5a9..0000000 --- a/tests/test_0123.out +++ /dev/null @@ -1 +0,0 @@ -basic/g diff --git a/tests/test_0124.out b/tests/test_0124.out deleted file mode 100644 index fb683c7..0000000 --- a/tests/test_0124.out +++ /dev/null @@ -1,2 +0,0 @@ -basic/g -basic/g/h diff --git a/tests/test_0125.out b/tests/test_0125.out deleted file mode 100644 index fb683c7..0000000 --- a/tests/test_0125.out +++ /dev/null @@ -1,2 +0,0 @@ -basic/g -basic/g/h diff --git a/tests/test_0126.out b/tests/test_0126.out deleted file mode 100644 index 72b086d..0000000 --- a/tests/test_0126.out +++ /dev/null @@ -1 +0,0 @@ -basic/g/h diff --git a/tests/test_0127.out b/tests/test_0127.out deleted file mode 100644 index ebcaf79..0000000 --- a/tests/test_0127.out +++ /dev/null @@ -1 +0,0 @@ -basic/k/foo/bar diff --git a/tests/test_0128.out b/tests/test_0128.out deleted file mode 100644 index e69de29..0000000 diff --git a/tests/test_0129.out b/tests/test_0129.out deleted file mode 100644 index e69de29..0000000 diff --git a/tests/test_0130.out b/tests/test_0130.out deleted file mode 100644 index 801ddbb..0000000 --- a/tests/test_0130.out +++ /dev/null @@ -1,19 +0,0 @@ -%p(basic) %d(0) %f(basic) %h(.) %H(basic) %P() %m(755) %M(drwxr-xr-x) %y(d) -%p(basic/a) %d(1) %f(a) %h(basic) %H(basic) %P(a) %m(644) %M(-rw-r--r--) %y(f) -%p(basic/b) %d(1) %f(b) %h(basic) %H(basic) %P(b) %m(644) %M(-rw-r--r--) %y(f) -%p(basic/c) %d(1) %f(c) %h(basic) %H(basic) %P(c) %m(755) %M(drwxr-xr-x) %y(d) -%p(basic/e) %d(1) %f(e) %h(basic) %H(basic) %P(e) %m(755) %M(drwxr-xr-x) %y(d) -%p(basic/g) %d(1) %f(g) %h(basic) %H(basic) %P(g) %m(755) %M(drwxr-xr-x) %y(d) -%p(basic/i) %d(1) %f(i) %h(basic) %H(basic) %P(i) %m(755) %M(drwxr-xr-x) %y(d) -%p(basic/j) %d(1) %f(j) %h(basic) %H(basic) %P(j) %m(755) %M(drwxr-xr-x) %y(d) -%p(basic/k) %d(1) %f(k) %h(basic) %H(basic) %P(k) %m(755) %M(drwxr-xr-x) %y(d) -%p(basic/l) %d(1) %f(l) %h(basic) %H(basic) %P(l) %m(755) %M(drwxr-xr-x) %y(d) -%p(basic/c/d) %d(2) %f(d) %h(basic/c) %H(basic) %P(c/d) %m(644) %M(-rw-r--r--) %y(f) -%p(basic/e/f) %d(2) %f(f) %h(basic/e) %H(basic) %P(e/f) %m(644) %M(-rw-r--r--) %y(f) -%p(basic/g/h) %d(2) %f(h) %h(basic/g) %H(basic) %P(g/h) %m(755) %M(drwxr-xr-x) %y(d) -%p(basic/j/foo) %d(2) %f(foo) %h(basic/j) %H(basic) %P(j/foo) %m(644) %M(-rw-r--r--) %y(f) -%p(basic/k/foo) %d(2) %f(foo) %h(basic/k) %H(basic) %P(k/foo) %m(755) %M(drwxr-xr-x) %y(d) -%p(basic/l/foo) %d(2) %f(foo) %h(basic/l) %H(basic) %P(l/foo) %m(755) %M(drwxr-xr-x) %y(d) -%p(basic/k/foo/bar) %d(3) %f(bar) %h(basic/k/foo) %H(basic) %P(k/foo/bar) %m(644) %M(-rw-r--r--) %y(f) -%p(basic/l/foo/bar) %d(3) %f(bar) %h(basic/l/foo) %H(basic) %P(l/foo/bar) %m(755) %M(drwxr-xr-x) %y(d) -%p(basic/l/foo/bar/baz) %d(4) %f(baz) %h(basic/l/foo/bar) %H(basic) %P(l/foo/bar/baz) %m(644) %M(-rw-r--r--) %y(f) diff --git a/tests/test_0131.out b/tests/test_0131.out deleted file mode 100644 index 5571971..0000000 --- a/tests/test_0131.out +++ /dev/null @@ -1 +0,0 @@ -(/)/(/) diff --git a/tests/test_0132.out b/tests/test_0132.out deleted file mode 100644 index 60710e5..0000000 --- a/tests/test_0132.out +++ /dev/null @@ -1 +0,0 @@ -(/)/(///) diff --git a/tests/test_0133.out b/tests/test_0133.out deleted file mode 100644 index 0aa4ffc..0000000 --- a/tests/test_0133.out +++ /dev/null @@ -1,19 +0,0 @@ -(basic)/(a) -(basic)/(b) -(basic)/(c) -(basic)/(e) -(basic)/(g) -(basic)/(i) -(basic)/(j) -(basic)/(k) -(basic)/(l) -(.)/(basic/) -(basic/c)/(d) -(basic/e)/(f) -(basic/g)/(h) -(basic/j)/(foo) -(basic/k)/(foo) -(basic/l)/(foo) -(basic/k/foo)/(bar) -(basic/l/foo)/(bar) -(basic/l/foo/bar)/(baz) diff --git a/tests/test_0134.out b/tests/test_0134.out deleted file mode 100644 index cbb54a8..0000000 --- a/tests/test_0134.out +++ /dev/null @@ -1,19 +0,0 @@ -(basic//)/(a) -(basic//)/(b) -(basic//)/(c) -(basic//)/(e) -(basic//)/(g) -(basic//)/(i) -(basic//)/(j) -(basic//)/(k) -(basic//)/(l) -(.)/(basic///) -(basic///c)/(d) -(basic///e)/(f) -(basic///g)/(h) -(basic///j)/(foo) -(basic///k)/(foo) -(basic///l)/(foo) -(basic///k/foo)/(bar) -(basic///l/foo)/(bar) -(basic///l/foo/bar)/(baz) diff --git a/tests/test_0135.out b/tests/test_0135.out deleted file mode 100644 index 1a92b6e..0000000 --- a/tests/test_0135.out +++ /dev/null @@ -1,19 +0,0 @@ -|basic | +00 0755 -|basic/a | +01 0644 -|basic/b | +01 0644 -|basic/c | +01 0755 -|basic/e | +01 0755 -|basic/g | +01 0755 -|basic/i | +01 0755 -|basic/j | +01 0755 -|basic/k | +01 0755 -|basic/l | +01 0755 -|basic/c/d | +02 0644 -|basic/e/f | +02 0644 -|basic/g/h | +02 0755 -|basic/j/fo| +02 0644 -|basic/k/fo| +02 0755 -|basic/k/fo| +03 0644 -|basic/l/fo| +02 0755 -|basic/l/fo| +03 0755 -|basic/l/fo| +04 0644 diff --git a/tests/test_0136.out b/tests/test_0136.out deleted file mode 100644 index 94fa833..0000000 --- a/tests/test_0136.out +++ /dev/null @@ -1,10 +0,0 @@ -(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/d/e/f) () d d -(links/d/e/i) (q) l N -(links/d/e/g) (../../d) l d diff --git a/tests/test_0137.out b/tests/test_0137.out deleted file mode 100644 index 20ea120..0000000 --- a/tests/test_0137.out +++ /dev/null @@ -1 +0,0 @@ -8 8I8I18 diff --git a/tests/test_0138.out b/tests/test_0138.out deleted file mode 100644 index cf4d5a9..0000000 --- a/tests/test_0138.out +++ /dev/null @@ -1 +0,0 @@ -basic/g diff --git a/tests/test_0139.out b/tests/test_0139.out deleted file mode 100644 index 15a13db..0000000 --- a/tests/test_0139.out +++ /dev/null @@ -1 +0,0 @@ -basic diff --git a/tests/test_0140.out b/tests/test_0140.out deleted file mode 100644 index e69de29..0000000 diff --git a/tests/test_0141.out b/tests/test_0141.out deleted file mode 100644 index 15a13db..0000000 --- a/tests/test_0141.out +++ /dev/null @@ -1 +0,0 @@ -basic diff --git a/tests/test_0142.out b/tests/test_0142.out deleted file mode 100644 index 1f94970..0000000 --- a/tests/test_0142.out +++ /dev/null @@ -1,6 +0,0 @@ -links -links/a -links/c -links/d -links/d/e -links/d/e/f diff --git a/tests/test_0143.out b/tests/test_0143.out deleted file mode 100644 index 8849bb9..0000000 --- a/tests/test_0143.out +++ /dev/null @@ -1,9 +0,0 @@ -links -links/a -links/b -links/c -links/d -links/h -links/d/e -links/d/e/f -links/d/e/g diff --git a/tests/test_E.out b/tests/test_E.out new file mode 100644 index 0000000..0f0971e --- /dev/null +++ b/tests/test_E.out @@ -0,0 +1 @@ +./( diff --git a/tests/test_H.out b/tests/test_H.out new file mode 100644 index 0000000..a4beda4 --- /dev/null +++ b/tests/test_H.out @@ -0,0 +1 @@ +links/d/e/f diff --git a/tests/test_H_broken.out b/tests/test_H_broken.out new file mode 100644 index 0000000..e5e13fc --- /dev/null +++ b/tests/test_H_broken.out @@ -0,0 +1 @@ +links/d/e/i diff --git a/tests/test_H_mnewer.out b/tests/test_H_mnewer.out new file mode 100644 index 0000000..7f6c0dd --- /dev/null +++ b/tests/test_H_mnewer.out @@ -0,0 +1,4 @@ +times +times/b +times/c +times/l diff --git a/tests/test_H_newer.out b/tests/test_H_newer.out new file mode 100644 index 0000000..7f6c0dd --- /dev/null +++ b/tests/test_H_newer.out @@ -0,0 +1,4 @@ +times +times/b +times/c +times/l diff --git a/tests/test_H_slash.out b/tests/test_H_slash.out new file mode 100644 index 0000000..0a4fc77 --- /dev/null +++ b/tests/test_H_slash.out @@ -0,0 +1 @@ +links/d/e/f/ diff --git a/tests/test_L.out b/tests/test_L.out new file mode 100644 index 0000000..36087e8 --- /dev/null +++ b/tests/test_L.out @@ -0,0 +1,12 @@ +links +links/a +links/b +links/c +links/d +links/h +links/d/e +links/h/f +links/h/g +links/h/i +links/d/e/f +links/d/e/i diff --git a/tests/test_L_depth.out b/tests/test_L_depth.out new file mode 100644 index 0000000..36087e8 --- /dev/null +++ b/tests/test_L_depth.out @@ -0,0 +1,12 @@ +links +links/a +links/b +links/c +links/d +links/h +links/d/e +links/h/f +links/h/g +links/h/i +links/d/e/f +links/d/e/i diff --git a/tests/test_L_ilname.out b/tests/test_L_ilname.out new file mode 100644 index 0000000..b7e42dd --- /dev/null +++ b/tests/test_L_ilname.out @@ -0,0 +1,2 @@ +links/h/i +links/d/e/i diff --git a/tests/test_L_lname.out b/tests/test_L_lname.out new file mode 100644 index 0000000..b7e42dd --- /dev/null +++ b/tests/test_L_lname.out @@ -0,0 +1,2 @@ +links/h/i +links/d/e/i diff --git a/tests/test_L_xtype_f.out b/tests/test_L_xtype_f.out new file mode 100644 index 0000000..892c879 --- /dev/null +++ b/tests/test_L_xtype_f.out @@ -0,0 +1,2 @@ +links/a +links/c diff --git a/tests/test_L_xtype_l.out b/tests/test_L_xtype_l.out new file mode 100644 index 0000000..1052fc0 --- /dev/null +++ b/tests/test_L_xtype_l.out @@ -0,0 +1,5 @@ +links/b +links/h +links/h/g +links/h/i +links/d/e/i diff --git a/tests/test_P.out b/tests/test_P.out new file mode 100644 index 0000000..a4beda4 --- /dev/null +++ b/tests/test_P.out @@ -0,0 +1 @@ +links/d/e/f diff --git a/tests/test_P_slash.out b/tests/test_P_slash.out new file mode 100644 index 0000000..0a4fc77 --- /dev/null +++ b/tests/test_P_slash.out @@ -0,0 +1 @@ +links/d/e/f/ diff --git a/tests/test_anewer.out b/tests/test_anewer.out new file mode 100644 index 0000000..7f6c0dd --- /dev/null +++ b/tests/test_anewer.out @@ -0,0 +1,4 @@ +times +times/b +times/c +times/l diff --git a/tests/test_basic.out b/tests/test_basic.out new file mode 100644 index 0000000..bb3cd8d --- /dev/null +++ b/tests/test_basic.out @@ -0,0 +1,19 @@ +basic +basic/a +basic/b +basic/c +basic/e +basic/g +basic/i +basic/j +basic/k +basic/l +basic/c/d +basic/e/f +basic/g/h +basic/j/foo +basic/k/foo +basic/l/foo +basic/k/foo/bar +basic/l/foo/bar +basic/l/foo/bar/baz diff --git a/tests/test_comma.out b/tests/test_comma.out new file mode 100644 index 0000000..56b2bde --- /dev/null +++ b/tests/test_comma.out @@ -0,0 +1,23 @@ +basic +basic/a +basic/b +basic/c +basic/e +basic/g +basic/i +basic/j +basic/k +basic/l +basic/c/d +basic/e/f +basic/e/f +basic/g/h +basic/j/foo +basic/j/foo +basic/k/foo +basic/k/foo +basic/l/foo +basic/l/foo +basic/k/foo/bar +basic/l/foo/bar +basic/l/foo/bar/baz diff --git a/tests/test_d_path.out b/tests/test_d_path.out new file mode 100644 index 0000000..bb3cd8d --- /dev/null +++ b/tests/test_d_path.out @@ -0,0 +1,19 @@ +basic +basic/a +basic/b +basic/c +basic/e +basic/g +basic/i +basic/j +basic/k +basic/l +basic/c/d +basic/e/f +basic/g/h +basic/j/foo +basic/k/foo +basic/l/foo +basic/k/foo/bar +basic/l/foo/bar +basic/l/foo/bar/baz diff --git a/tests/test_daystart.out b/tests/test_daystart.out new file mode 100644 index 0000000..bb3cd8d --- /dev/null +++ b/tests/test_daystart.out @@ -0,0 +1,19 @@ +basic +basic/a +basic/b +basic/c +basic/e +basic/g +basic/i +basic/j +basic/k +basic/l +basic/c/d +basic/e/f +basic/g/h +basic/j/foo +basic/k/foo +basic/l/foo +basic/k/foo/bar +basic/l/foo/bar +basic/l/foo/bar/baz diff --git a/tests/test_daystart_twice.out b/tests/test_daystart_twice.out new file mode 100644 index 0000000..bb3cd8d --- /dev/null +++ b/tests/test_daystart_twice.out @@ -0,0 +1,19 @@ +basic +basic/a +basic/b +basic/c +basic/e +basic/g +basic/i +basic/j +basic/k +basic/l +basic/c/d +basic/e/f +basic/g/h +basic/j/foo +basic/k/foo +basic/l/foo +basic/k/foo/bar +basic/l/foo/bar +basic/l/foo/bar/baz diff --git a/tests/test_depth.out b/tests/test_depth.out new file mode 100644 index 0000000..bb3cd8d --- /dev/null +++ b/tests/test_depth.out @@ -0,0 +1,19 @@ +basic +basic/a +basic/b +basic/c +basic/e +basic/g +basic/i +basic/j +basic/k +basic/l +basic/c/d +basic/e/f +basic/g/h +basic/j/foo +basic/k/foo +basic/l/foo +basic/k/foo/bar +basic/l/foo/bar +basic/l/foo/bar/baz diff --git a/tests/test_depth_depth_n.out b/tests/test_depth_depth_n.out new file mode 100644 index 0000000..3bfc1d3 --- /dev/null +++ b/tests/test_depth_depth_n.out @@ -0,0 +1,6 @@ +basic/c/d +basic/e/f +basic/g/h +basic/j/foo +basic/k/foo +basic/l/foo diff --git a/tests/test_depth_depth_n_minus.out b/tests/test_depth_depth_n_minus.out new file mode 100644 index 0000000..7575ae4 --- /dev/null +++ b/tests/test_depth_depth_n_minus.out @@ -0,0 +1,10 @@ +basic +basic/a +basic/b +basic/c +basic/e +basic/g +basic/i +basic/j +basic/k +basic/l diff --git a/tests/test_depth_depth_n_plus.out b/tests/test_depth_depth_n_plus.out new file mode 100644 index 0000000..847995d --- /dev/null +++ b/tests/test_depth_depth_n_plus.out @@ -0,0 +1,3 @@ +basic/k/foo/bar +basic/l/foo/bar +basic/l/foo/bar/baz diff --git a/tests/test_depth_maxdepth_1.out b/tests/test_depth_maxdepth_1.out new file mode 100644 index 0000000..7575ae4 --- /dev/null +++ b/tests/test_depth_maxdepth_1.out @@ -0,0 +1,10 @@ +basic +basic/a +basic/b +basic/c +basic/e +basic/g +basic/i +basic/j +basic/k +basic/l diff --git a/tests/test_depth_maxdepth_2.out b/tests/test_depth_maxdepth_2.out new file mode 100644 index 0000000..b79fef1 --- /dev/null +++ b/tests/test_depth_maxdepth_2.out @@ -0,0 +1,16 @@ +basic +basic/a +basic/b +basic/c +basic/e +basic/g +basic/i +basic/j +basic/k +basic/l +basic/c/d +basic/e/f +basic/g/h +basic/j/foo +basic/k/foo +basic/l/foo diff --git a/tests/test_depth_mindepth_1.out b/tests/test_depth_mindepth_1.out new file mode 100644 index 0000000..1f00c58 --- /dev/null +++ b/tests/test_depth_mindepth_1.out @@ -0,0 +1,18 @@ +basic/a +basic/b +basic/c +basic/e +basic/g +basic/i +basic/j +basic/k +basic/l +basic/c/d +basic/e/f +basic/g/h +basic/j/foo +basic/k/foo +basic/l/foo +basic/k/foo/bar +basic/l/foo/bar +basic/l/foo/bar/baz diff --git a/tests/test_depth_mindepth_2.out b/tests/test_depth_mindepth_2.out new file mode 100644 index 0000000..4198bf9 --- /dev/null +++ b/tests/test_depth_mindepth_2.out @@ -0,0 +1,9 @@ +basic/c/d +basic/e/f +basic/g/h +basic/j/foo +basic/k/foo +basic/l/foo +basic/k/foo/bar +basic/l/foo/bar +basic/l/foo/bar/baz diff --git a/tests/test_depth_n.out b/tests/test_depth_n.out new file mode 100644 index 0000000..3bfc1d3 --- /dev/null +++ b/tests/test_depth_n.out @@ -0,0 +1,6 @@ +basic/c/d +basic/e/f +basic/g/h +basic/j/foo +basic/k/foo +basic/l/foo diff --git a/tests/test_depth_n_minus.out b/tests/test_depth_n_minus.out new file mode 100644 index 0000000..7575ae4 --- /dev/null +++ b/tests/test_depth_n_minus.out @@ -0,0 +1,10 @@ +basic +basic/a +basic/b +basic/c +basic/e +basic/g +basic/i +basic/j +basic/k +basic/l diff --git a/tests/test_depth_n_plus.out b/tests/test_depth_n_plus.out new file mode 100644 index 0000000..847995d --- /dev/null +++ b/tests/test_depth_n_plus.out @@ -0,0 +1,3 @@ +basic/k/foo/bar +basic/l/foo/bar +basic/l/foo/bar/baz diff --git a/tests/test_depth_slash.out b/tests/test_depth_slash.out new file mode 100644 index 0000000..7ce7a82 --- /dev/null +++ b/tests/test_depth_slash.out @@ -0,0 +1,19 @@ +basic/ +basic/a +basic/b +basic/c +basic/e +basic/g +basic/i +basic/j +basic/k +basic/l +basic/c/d +basic/e/f +basic/g/h +basic/j/foo +basic/k/foo +basic/l/foo +basic/k/foo/bar +basic/l/foo/bar +basic/l/foo/bar/baz diff --git a/tests/test_double_dash.out b/tests/test_double_dash.out new file mode 100644 index 0000000..774cc7c --- /dev/null +++ b/tests/test_double_dash.out @@ -0,0 +1,7 @@ +./a +./b +./c/d +./e/f +./j/foo +./k/foo/bar +./l/foo/bar/baz diff --git a/tests/test_empty.out b/tests/test_empty.out new file mode 100644 index 0000000..81bdb0a --- /dev/null +++ b/tests/test_empty.out @@ -0,0 +1,8 @@ +basic/a +basic/b +basic/i +basic/c/d +basic/e/f +basic/g/h +basic/j/foo +basic/k/foo/bar diff --git a/tests/test_exec.out b/tests/test_exec.out new file mode 100644 index 0000000..bb3cd8d --- /dev/null +++ b/tests/test_exec.out @@ -0,0 +1,19 @@ +basic +basic/a +basic/b +basic/c +basic/e +basic/g +basic/i +basic/j +basic/k +basic/l +basic/c/d +basic/e/f +basic/g/h +basic/j/foo +basic/k/foo +basic/l/foo +basic/k/foo/bar +basic/l/foo/bar +basic/l/foo/bar/baz diff --git a/tests/test_exec_substring.out b/tests/test_exec_substring.out new file mode 100644 index 0000000..1c58fb2 --- /dev/null +++ b/tests/test_exec_substring.out @@ -0,0 +1,19 @@ +-basic- +-basic/a- +-basic/b- +-basic/c- +-basic/e- +-basic/g- +-basic/i- +-basic/j- +-basic/k- +-basic/l- +-basic/c/d- +-basic/e/f- +-basic/g/h- +-basic/j/foo- +-basic/k/foo- +-basic/l/foo- +-basic/k/foo/bar- +-basic/l/foo/bar- +-basic/l/foo/bar/baz- diff --git a/tests/test_execdir.out b/tests/test_execdir.out new file mode 100644 index 0000000..62b31f6 --- /dev/null +++ b/tests/test_execdir.out @@ -0,0 +1,19 @@ +./a +./b +./bar +./bar +./basic +./baz +./c +./d +./e +./f +./foo +./foo +./foo +./g +./h +./i +./j +./k +./l diff --git a/tests/test_execdir_pwd.out b/tests/test_execdir_pwd.out new file mode 100644 index 0000000..e66db9a --- /dev/null +++ b/tests/test_execdir_pwd.out @@ -0,0 +1,19 @@ + +basic +basic +basic +basic +basic +basic +basic +basic +basic +basic/c +basic/e +basic/g +basic/j +basic/k +basic/l +basic/k/foo +basic/l/foo +basic/l/foo/bar diff --git a/tests/test_execdir_slash.out b/tests/test_execdir_slash.out new file mode 100644 index 0000000..b498fd4 --- /dev/null +++ b/tests/test_execdir_slash.out @@ -0,0 +1 @@ +/ diff --git a/tests/test_execdir_slash_pwd.out b/tests/test_execdir_slash_pwd.out new file mode 100644 index 0000000..b498fd4 --- /dev/null +++ b/tests/test_execdir_slash_pwd.out @@ -0,0 +1 @@ +/ diff --git a/tests/test_execdir_slashes.out b/tests/test_execdir_slashes.out new file mode 100644 index 0000000..187b81f --- /dev/null +++ b/tests/test_execdir_slashes.out @@ -0,0 +1 @@ +/// diff --git a/tests/test_execdir_substring.out b/tests/test_execdir_substring.out new file mode 100644 index 0000000..f7a9ac0 --- /dev/null +++ b/tests/test_execdir_substring.out @@ -0,0 +1,19 @@ +-./a- +-./b- +-./bar- +-./bar- +-./basic- +-./baz- +-./c- +-./d- +-./e- +-./f- +-./foo- +-./foo- +-./foo- +-./g- +-./h- +-./i- +-./j- +-./k- +-./l- diff --git a/tests/test_executable.out b/tests/test_executable.out new file mode 100644 index 0000000..49c1b21 --- /dev/null +++ b/tests/test_executable.out @@ -0,0 +1,4 @@ +perms +perms/rwx +perms/rx +perms/wx diff --git a/tests/test_f.out b/tests/test_f.out new file mode 100644 index 0000000..2998538 --- /dev/null +++ b/tests/test_f.out @@ -0,0 +1,4 @@ +( +- +(/b +-/a diff --git a/tests/test_flag_comma.out b/tests/test_flag_comma.out new file mode 100644 index 0000000..3574388 --- /dev/null +++ b/tests/test_flag_comma.out @@ -0,0 +1,2 @@ +, +,/f diff --git a/tests/test_flag_double_dash.out b/tests/test_flag_double_dash.out new file mode 100644 index 0000000..774cc7c --- /dev/null +++ b/tests/test_flag_double_dash.out @@ -0,0 +1,7 @@ +./a +./b +./c/d +./e/f +./j/foo +./k/foo/bar +./l/foo/bar/baz diff --git a/tests/test_flag_weird_names.out b/tests/test_flag_weird_names.out new file mode 100644 index 0000000..73d0ff3 --- /dev/null +++ b/tests/test_flag_weird_names.out @@ -0,0 +1,28 @@ +!- +!- +(- +(- +) +) +, +, +- +- +!-/e +!-/e +(-/c +(-/c +)/g +)/g +,/f +,/f +-/a +-/a +./! +./! +./( +./( +./!/d +./!/d +./(/b +./(/b diff --git a/tests/test_follow.out b/tests/test_follow.out new file mode 100644 index 0000000..36087e8 --- /dev/null +++ b/tests/test_follow.out @@ -0,0 +1,12 @@ +links +links/a +links/b +links/c +links/d +links/h +links/d/e +links/h/f +links/h/g +links/h/i +links/d/e/f +links/d/e/i diff --git a/tests/test_follow_comma.out b/tests/test_follow_comma.out new file mode 100644 index 0000000..a4d5860 --- /dev/null +++ b/tests/test_follow_comma.out @@ -0,0 +1,17 @@ +. +./! +./!- +./( +./(- +./) +./, +./- +./... +./!-/e +./!/d +./(-/c +./(/b +./)/g +./,/f +./-/a +./.../h diff --git a/tests/test_fprint.out b/tests/test_fprint.out new file mode 100644 index 0000000..a7ccfe4 --- /dev/null +++ b/tests/test_fprint.out @@ -0,0 +1,19 @@ +basic +basic/a +basic/b +basic/c +basic/c/d +basic/e +basic/e/f +basic/g +basic/g/h +basic/i +basic/j +basic/j/foo +basic/k +basic/k/foo +basic/k/foo/bar +basic/l +basic/l/foo +basic/l/foo/bar +basic/l/foo/bar/baz diff --git a/tests/test_gid.out b/tests/test_gid.out new file mode 100644 index 0000000..bb3cd8d --- /dev/null +++ b/tests/test_gid.out @@ -0,0 +1,19 @@ +basic +basic/a +basic/b +basic/c +basic/e +basic/g +basic/i +basic/j +basic/k +basic/l +basic/c/d +basic/e/f +basic/g/h +basic/j/foo +basic/k/foo +basic/l/foo +basic/k/foo/bar +basic/l/foo/bar +basic/l/foo/bar/baz diff --git a/tests/test_gid_minus.out b/tests/test_gid_minus.out new file mode 100644 index 0000000..bb3cd8d --- /dev/null +++ b/tests/test_gid_minus.out @@ -0,0 +1,19 @@ +basic +basic/a +basic/b +basic/c +basic/e +basic/g +basic/i +basic/j +basic/k +basic/l +basic/c/d +basic/e/f +basic/g/h +basic/j/foo +basic/k/foo +basic/l/foo +basic/k/foo/bar +basic/l/foo/bar +basic/l/foo/bar/baz diff --git a/tests/test_gid_name.out b/tests/test_gid_name.out new file mode 100644 index 0000000..bb3cd8d --- /dev/null +++ b/tests/test_gid_name.out @@ -0,0 +1,19 @@ +basic +basic/a +basic/b +basic/c +basic/e +basic/g +basic/i +basic/j +basic/k +basic/l +basic/c/d +basic/e/f +basic/g/h +basic/j/foo +basic/k/foo +basic/l/foo +basic/k/foo/bar +basic/l/foo/bar +basic/l/foo/bar/baz diff --git a/tests/test_gid_plus.out b/tests/test_gid_plus.out new file mode 100644 index 0000000..bb3cd8d --- /dev/null +++ b/tests/test_gid_plus.out @@ -0,0 +1,19 @@ +basic +basic/a +basic/b +basic/c +basic/e +basic/g +basic/i +basic/j +basic/k +basic/l +basic/c/d +basic/e/f +basic/g/h +basic/j/foo +basic/k/foo +basic/l/foo +basic/k/foo/bar +basic/l/foo/bar +basic/l/foo/bar/baz diff --git a/tests/test_group_id.out b/tests/test_group_id.out new file mode 100644 index 0000000..bb3cd8d --- /dev/null +++ b/tests/test_group_id.out @@ -0,0 +1,19 @@ +basic +basic/a +basic/b +basic/c +basic/e +basic/g +basic/i +basic/j +basic/k +basic/l +basic/c/d +basic/e/f +basic/g/h +basic/j/foo +basic/k/foo +basic/l/foo +basic/k/foo/bar +basic/l/foo/bar +basic/l/foo/bar/baz diff --git a/tests/test_group_name.out b/tests/test_group_name.out new file mode 100644 index 0000000..bb3cd8d --- /dev/null +++ b/tests/test_group_name.out @@ -0,0 +1,19 @@ +basic +basic/a +basic/b +basic/c +basic/e +basic/g +basic/i +basic/j +basic/k +basic/l +basic/c/d +basic/e/f +basic/g/h +basic/j/foo +basic/k/foo +basic/l/foo +basic/k/foo/bar +basic/l/foo/bar +basic/l/foo/bar/baz diff --git a/tests/test_hidden.out b/tests/test_hidden.out new file mode 100644 index 0000000..e65ede9 --- /dev/null +++ b/tests/test_hidden.out @@ -0,0 +1 @@ +weirdnames/... diff --git a/tests/test_ilname.out b/tests/test_ilname.out new file mode 100644 index 0000000..45cc127 --- /dev/null +++ b/tests/test_ilname.out @@ -0,0 +1,2 @@ +links/b +links/d/e/i diff --git a/tests/test_iname.out b/tests/test_iname.out new file mode 100644 index 0000000..a9e5d42 --- /dev/null +++ b/tests/test_iname.out @@ -0,0 +1,4 @@ +basic/e/f +basic/j/foo +basic/k/foo +basic/l/foo diff --git a/tests/test_inum.out b/tests/test_inum.out new file mode 100644 index 0000000..ebcaf79 --- /dev/null +++ b/tests/test_inum.out @@ -0,0 +1 @@ +basic/k/foo/bar diff --git a/tests/test_ipath.out b/tests/test_ipath.out new file mode 100644 index 0000000..0d36df9 --- /dev/null +++ b/tests/test_ipath.out @@ -0,0 +1,7 @@ +basic/e/f +basic/j/foo +basic/k/foo +basic/l/foo +basic/k/foo/bar +basic/l/foo/bar +basic/l/foo/bar/baz diff --git a/tests/test_iregex.out b/tests/test_iregex.out new file mode 100644 index 0000000..cfc113b --- /dev/null +++ b/tests/test_iregex.out @@ -0,0 +1,3 @@ +basic/c/d +basic/e/f +basic/g/h diff --git a/tests/test_links.out b/tests/test_links.out new file mode 100644 index 0000000..892c879 --- /dev/null +++ b/tests/test_links.out @@ -0,0 +1,2 @@ +links/a +links/c diff --git a/tests/test_links_minus.out b/tests/test_links_minus.out new file mode 100644 index 0000000..e69de29 diff --git a/tests/test_links_plus.out b/tests/test_links_plus.out new file mode 100644 index 0000000..892c879 --- /dev/null +++ b/tests/test_links_plus.out @@ -0,0 +1,2 @@ +links/a +links/c diff --git a/tests/test_lname.out b/tests/test_lname.out new file mode 100644 index 0000000..45cc127 --- /dev/null +++ b/tests/test_lname.out @@ -0,0 +1,2 @@ +links/b +links/d/e/i diff --git a/tests/test_maxdepth.out b/tests/test_maxdepth.out new file mode 100644 index 0000000..7575ae4 --- /dev/null +++ b/tests/test_maxdepth.out @@ -0,0 +1,10 @@ +basic +basic/a +basic/b +basic/c +basic/e +basic/g +basic/i +basic/j +basic/k +basic/l diff --git a/tests/test_mindepth.out b/tests/test_mindepth.out new file mode 100644 index 0000000..1f00c58 --- /dev/null +++ b/tests/test_mindepth.out @@ -0,0 +1,18 @@ +basic/a +basic/b +basic/c +basic/e +basic/g +basic/i +basic/j +basic/k +basic/l +basic/c/d +basic/e/f +basic/g/h +basic/j/foo +basic/k/foo +basic/l/foo +basic/k/foo/bar +basic/l/foo/bar +basic/l/foo/bar/baz diff --git a/tests/test_mnewer.out b/tests/test_mnewer.out new file mode 100644 index 0000000..7f6c0dd --- /dev/null +++ b/tests/test_mnewer.out @@ -0,0 +1,4 @@ +times +times/b +times/c +times/l diff --git a/tests/test_name.out b/tests/test_name.out new file mode 100644 index 0000000..a9e5d42 --- /dev/null +++ b/tests/test_name.out @@ -0,0 +1,4 @@ +basic/e/f +basic/j/foo +basic/k/foo +basic/l/foo diff --git a/tests/test_name_root.out b/tests/test_name_root.out new file mode 100644 index 0000000..511198f --- /dev/null +++ b/tests/test_name_root.out @@ -0,0 +1 @@ +basic/a diff --git a/tests/test_name_root_depth.out b/tests/test_name_root_depth.out new file mode 100644 index 0000000..cf4d5a9 --- /dev/null +++ b/tests/test_name_root_depth.out @@ -0,0 +1 @@ +basic/g diff --git a/tests/test_name_slash.out b/tests/test_name_slash.out new file mode 100644 index 0000000..b498fd4 --- /dev/null +++ b/tests/test_name_slash.out @@ -0,0 +1 @@ +/ diff --git a/tests/test_name_slashes.out b/tests/test_name_slashes.out new file mode 100644 index 0000000..187b81f --- /dev/null +++ b/tests/test_name_slashes.out @@ -0,0 +1 @@ +/// diff --git a/tests/test_name_trailing_slash.out b/tests/test_name_trailing_slash.out new file mode 100644 index 0000000..daff2f5 --- /dev/null +++ b/tests/test_name_trailing_slash.out @@ -0,0 +1 @@ +basic/g/ diff --git a/tests/test_newer.out b/tests/test_newer.out new file mode 100644 index 0000000..7f6c0dd --- /dev/null +++ b/tests/test_newer.out @@ -0,0 +1,4 @@ +times +times/b +times/c +times/l diff --git a/tests/test_newerma.out b/tests/test_newerma.out new file mode 100644 index 0000000..7f6c0dd --- /dev/null +++ b/tests/test_newerma.out @@ -0,0 +1,4 @@ +times +times/b +times/c +times/l diff --git a/tests/test_nogroup.out b/tests/test_nogroup.out new file mode 100644 index 0000000..e69de29 diff --git a/tests/test_nohidden.out b/tests/test_nohidden.out new file mode 100644 index 0000000..e505d02 --- /dev/null +++ b/tests/test_nohidden.out @@ -0,0 +1,15 @@ +weirdnames +weirdnames/! +weirdnames/!- +weirdnames/( +weirdnames/(- +weirdnames/) +weirdnames/, +weirdnames/- +weirdnames/!-/e +weirdnames/!/d +weirdnames/(-/c +weirdnames/(/b +weirdnames/)/g +weirdnames/,/f +weirdnames/-/a diff --git a/tests/test_nouser.out b/tests/test_nouser.out new file mode 100644 index 0000000..e69de29 diff --git a/tests/test_ok_stdin.out b/tests/test_ok_stdin.out new file mode 100644 index 0000000..30b57fd --- /dev/null +++ b/tests/test_ok_stdin.out @@ -0,0 +1,19 @@ +basic? y +basic/a? y +basic/b? y +basic/c? y +basic/e? y +basic/g? y +basic/i? y +basic/j? y +basic/k? y +basic/l? y +basic/c/d? y +basic/e/f? y +basic/g/h? y +basic/j/foo? y +basic/k/foo? y +basic/l/foo? y +basic/k/foo/bar? y +basic/l/foo/bar? y +basic/l/foo/bar/baz? y diff --git a/tests/test_okdir_stdin.out b/tests/test_okdir_stdin.out new file mode 100644 index 0000000..ef2a68b --- /dev/null +++ b/tests/test_okdir_stdin.out @@ -0,0 +1,19 @@ +./a? y +./b? y +./bar? y +./bar? y +./basic? y +./baz? y +./c? y +./d? y +./e? y +./f? y +./foo? y +./foo? y +./foo? y +./g? y +./h? y +./i? y +./j? y +./k? y +./l? y diff --git a/tests/test_parens.out b/tests/test_parens.out new file mode 100644 index 0000000..a9e5d42 --- /dev/null +++ b/tests/test_parens.out @@ -0,0 +1,4 @@ +basic/e/f +basic/j/foo +basic/k/foo +basic/l/foo diff --git a/tests/test_path.out b/tests/test_path.out new file mode 100644 index 0000000..0d36df9 --- /dev/null +++ b/tests/test_path.out @@ -0,0 +1,7 @@ +basic/e/f +basic/j/foo +basic/k/foo +basic/l/foo +basic/k/foo/bar +basic/l/foo/bar +basic/l/foo/bar/baz diff --git a/tests/test_path_d.out b/tests/test_path_d.out new file mode 100644 index 0000000..bb3cd8d --- /dev/null +++ b/tests/test_path_d.out @@ -0,0 +1,19 @@ +basic +basic/a +basic/b +basic/c +basic/e +basic/g +basic/i +basic/j +basic/k +basic/l +basic/c/d +basic/e/f +basic/g/h +basic/j/foo +basic/k/foo +basic/l/foo +basic/k/foo/bar +basic/l/foo/bar +basic/l/foo/bar/baz diff --git a/tests/test_perm_222.out b/tests/test_perm_222.out new file mode 100644 index 0000000..1690e43 --- /dev/null +++ b/tests/test_perm_222.out @@ -0,0 +1 @@ +perms/w diff --git a/tests/test_perm_222_minus.out b/tests/test_perm_222_minus.out new file mode 100644 index 0000000..1690e43 --- /dev/null +++ b/tests/test_perm_222_minus.out @@ -0,0 +1 @@ +perms/w diff --git a/tests/test_perm_222_slash.out b/tests/test_perm_222_slash.out new file mode 100644 index 0000000..9a5b95a --- /dev/null +++ b/tests/test_perm_222_slash.out @@ -0,0 +1,5 @@ +perms +perms/rw +perms/rwx +perms/w +perms/wx diff --git a/tests/test_perm_644.out b/tests/test_perm_644.out new file mode 100644 index 0000000..4e64e49 --- /dev/null +++ b/tests/test_perm_644.out @@ -0,0 +1 @@ +perms/rw diff --git a/tests/test_perm_644_minus.out b/tests/test_perm_644_minus.out new file mode 100644 index 0000000..2e2576b --- /dev/null +++ b/tests/test_perm_644_minus.out @@ -0,0 +1,3 @@ +perms +perms/rw +perms/rwx diff --git a/tests/test_perm_644_slash.out b/tests/test_perm_644_slash.out new file mode 100644 index 0000000..7e5ae98 --- /dev/null +++ b/tests/test_perm_644_slash.out @@ -0,0 +1,7 @@ +perms +perms/r +perms/rw +perms/rwx +perms/rx +perms/w +perms/wx diff --git a/tests/test_perm_leading_plus_symbolic.out b/tests/test_perm_leading_plus_symbolic.out new file mode 100644 index 0000000..e69de29 diff --git a/tests/test_perm_leading_plus_symbolic_minus.out b/tests/test_perm_leading_plus_symbolic_minus.out new file mode 100644 index 0000000..e69de29 diff --git a/tests/test_perm_leading_plus_symbolic_slash.out b/tests/test_perm_leading_plus_symbolic_slash.out new file mode 100644 index 0000000..7e5ae98 --- /dev/null +++ b/tests/test_perm_leading_plus_symbolic_slash.out @@ -0,0 +1,7 @@ +perms +perms/r +perms/rw +perms/rwx +perms/rx +perms/w +perms/wx diff --git a/tests/test_perm_symbolic.out b/tests/test_perm_symbolic.out new file mode 100644 index 0000000..e69de29 diff --git a/tests/test_perm_symbolic_minus.out b/tests/test_perm_symbolic_minus.out new file mode 100644 index 0000000..2e2576b --- /dev/null +++ b/tests/test_perm_symbolic_minus.out @@ -0,0 +1,3 @@ +perms +perms/rw +perms/rwx diff --git a/tests/test_perm_symbolic_slash.out b/tests/test_perm_symbolic_slash.out new file mode 100644 index 0000000..7e5ae98 --- /dev/null +++ b/tests/test_perm_symbolic_slash.out @@ -0,0 +1,7 @@ +perms +perms/r +perms/rw +perms/rwx +perms/rx +perms/w +perms/wx diff --git a/tests/test_printf.out b/tests/test_printf.out new file mode 100644 index 0000000..801ddbb --- /dev/null +++ b/tests/test_printf.out @@ -0,0 +1,19 @@ +%p(basic) %d(0) %f(basic) %h(.) %H(basic) %P() %m(755) %M(drwxr-xr-x) %y(d) +%p(basic/a) %d(1) %f(a) %h(basic) %H(basic) %P(a) %m(644) %M(-rw-r--r--) %y(f) +%p(basic/b) %d(1) %f(b) %h(basic) %H(basic) %P(b) %m(644) %M(-rw-r--r--) %y(f) +%p(basic/c) %d(1) %f(c) %h(basic) %H(basic) %P(c) %m(755) %M(drwxr-xr-x) %y(d) +%p(basic/e) %d(1) %f(e) %h(basic) %H(basic) %P(e) %m(755) %M(drwxr-xr-x) %y(d) +%p(basic/g) %d(1) %f(g) %h(basic) %H(basic) %P(g) %m(755) %M(drwxr-xr-x) %y(d) +%p(basic/i) %d(1) %f(i) %h(basic) %H(basic) %P(i) %m(755) %M(drwxr-xr-x) %y(d) +%p(basic/j) %d(1) %f(j) %h(basic) %H(basic) %P(j) %m(755) %M(drwxr-xr-x) %y(d) +%p(basic/k) %d(1) %f(k) %h(basic) %H(basic) %P(k) %m(755) %M(drwxr-xr-x) %y(d) +%p(basic/l) %d(1) %f(l) %h(basic) %H(basic) %P(l) %m(755) %M(drwxr-xr-x) %y(d) +%p(basic/c/d) %d(2) %f(d) %h(basic/c) %H(basic) %P(c/d) %m(644) %M(-rw-r--r--) %y(f) +%p(basic/e/f) %d(2) %f(f) %h(basic/e) %H(basic) %P(e/f) %m(644) %M(-rw-r--r--) %y(f) +%p(basic/g/h) %d(2) %f(h) %h(basic/g) %H(basic) %P(g/h) %m(755) %M(drwxr-xr-x) %y(d) +%p(basic/j/foo) %d(2) %f(foo) %h(basic/j) %H(basic) %P(j/foo) %m(644) %M(-rw-r--r--) %y(f) +%p(basic/k/foo) %d(2) %f(foo) %h(basic/k) %H(basic) %P(k/foo) %m(755) %M(drwxr-xr-x) %y(d) +%p(basic/l/foo) %d(2) %f(foo) %h(basic/l) %H(basic) %P(l/foo) %m(755) %M(drwxr-xr-x) %y(d) +%p(basic/k/foo/bar) %d(3) %f(bar) %h(basic/k/foo) %H(basic) %P(k/foo/bar) %m(644) %M(-rw-r--r--) %y(f) +%p(basic/l/foo/bar) %d(3) %f(bar) %h(basic/l/foo) %H(basic) %P(l/foo/bar) %m(755) %M(drwxr-xr-x) %y(d) +%p(basic/l/foo/bar/baz) %d(4) %f(baz) %h(basic/l/foo/bar) %H(basic) %P(l/foo/bar/baz) %m(644) %M(-rw-r--r--) %y(f) diff --git a/tests/test_printf_escapes.out b/tests/test_printf_escapes.out new file mode 100644 index 0000000..20ea120 --- /dev/null +++ b/tests/test_printf_escapes.out @@ -0,0 +1 @@ +8 8I8I18 diff --git a/tests/test_printf_flags.out b/tests/test_printf_flags.out new file mode 100644 index 0000000..1a92b6e --- /dev/null +++ b/tests/test_printf_flags.out @@ -0,0 +1,19 @@ +|basic | +00 0755 +|basic/a | +01 0644 +|basic/b | +01 0644 +|basic/c | +01 0755 +|basic/e | +01 0755 +|basic/g | +01 0755 +|basic/i | +01 0755 +|basic/j | +01 0755 +|basic/k | +01 0755 +|basic/l | +01 0755 +|basic/c/d | +02 0644 +|basic/e/f | +02 0644 +|basic/g/h | +02 0755 +|basic/j/fo| +02 0644 +|basic/k/fo| +02 0755 +|basic/k/fo| +03 0644 +|basic/l/fo| +02 0755 +|basic/l/fo| +03 0755 +|basic/l/fo| +04 0644 diff --git a/tests/test_printf_leak.out b/tests/test_printf_leak.out new file mode 100644 index 0000000..15a13db --- /dev/null +++ b/tests/test_printf_leak.out @@ -0,0 +1 @@ +basic diff --git a/tests/test_printf_slash.out b/tests/test_printf_slash.out new file mode 100644 index 0000000..5571971 --- /dev/null +++ b/tests/test_printf_slash.out @@ -0,0 +1 @@ +(/)/(/) diff --git a/tests/test_printf_slashes.out b/tests/test_printf_slashes.out new file mode 100644 index 0000000..60710e5 --- /dev/null +++ b/tests/test_printf_slashes.out @@ -0,0 +1 @@ +(/)/(///) diff --git a/tests/test_printf_trailing_slash.out b/tests/test_printf_trailing_slash.out new file mode 100644 index 0000000..0aa4ffc --- /dev/null +++ b/tests/test_printf_trailing_slash.out @@ -0,0 +1,19 @@ +(basic)/(a) +(basic)/(b) +(basic)/(c) +(basic)/(e) +(basic)/(g) +(basic)/(i) +(basic)/(j) +(basic)/(k) +(basic)/(l) +(.)/(basic/) +(basic/c)/(d) +(basic/e)/(f) +(basic/g)/(h) +(basic/j)/(foo) +(basic/k)/(foo) +(basic/l)/(foo) +(basic/k/foo)/(bar) +(basic/l/foo)/(bar) +(basic/l/foo/bar)/(baz) diff --git a/tests/test_printf_trailing_slashes.out b/tests/test_printf_trailing_slashes.out new file mode 100644 index 0000000..cbb54a8 --- /dev/null +++ b/tests/test_printf_trailing_slashes.out @@ -0,0 +1,19 @@ +(basic//)/(a) +(basic//)/(b) +(basic//)/(c) +(basic//)/(e) +(basic//)/(g) +(basic//)/(i) +(basic//)/(j) +(basic//)/(k) +(basic//)/(l) +(.)/(basic///) +(basic///c)/(d) +(basic///e)/(f) +(basic///g)/(h) +(basic///j)/(foo) +(basic///k)/(foo) +(basic///l)/(foo) +(basic///k/foo)/(bar) +(basic///l/foo)/(bar) +(basic///l/foo/bar)/(baz) diff --git a/tests/test_printf_types.out b/tests/test_printf_types.out new file mode 100644 index 0000000..94fa833 --- /dev/null +++ b/tests/test_printf_types.out @@ -0,0 +1,10 @@ +(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/d/e/f) () d d +(links/d/e/i) (q) l N +(links/d/e/g) (../../d) l d diff --git a/tests/test_quit.out b/tests/test_quit.out new file mode 100644 index 0000000..cf4d5a9 --- /dev/null +++ b/tests/test_quit.out @@ -0,0 +1 @@ +basic/g diff --git a/tests/test_quit_after_print.out b/tests/test_quit_after_print.out new file mode 100644 index 0000000..15a13db --- /dev/null +++ b/tests/test_quit_after_print.out @@ -0,0 +1 @@ +basic diff --git a/tests/test_quit_before_print.out b/tests/test_quit_before_print.out new file mode 100644 index 0000000..e69de29 diff --git a/tests/test_quit_child.out b/tests/test_quit_child.out new file mode 100644 index 0000000..fb683c7 --- /dev/null +++ b/tests/test_quit_child.out @@ -0,0 +1,2 @@ +basic/g +basic/g/h diff --git a/tests/test_quit_depth.out b/tests/test_quit_depth.out new file mode 100644 index 0000000..fb683c7 --- /dev/null +++ b/tests/test_quit_depth.out @@ -0,0 +1,2 @@ +basic/g +basic/g/h diff --git a/tests/test_quit_depth_child.out b/tests/test_quit_depth_child.out new file mode 100644 index 0000000..72b086d --- /dev/null +++ b/tests/test_quit_depth_child.out @@ -0,0 +1 @@ +basic/g/h diff --git a/tests/test_readable.out b/tests/test_readable.out new file mode 100644 index 0000000..386feba --- /dev/null +++ b/tests/test_readable.out @@ -0,0 +1,5 @@ +perms +perms/r +perms/rw +perms/rwx +perms/rx diff --git a/tests/test_regex.out b/tests/test_regex.out new file mode 100644 index 0000000..cfc113b --- /dev/null +++ b/tests/test_regex.out @@ -0,0 +1,3 @@ +basic/c/d +basic/e/f +basic/g/h diff --git a/tests/test_regex_parens.out b/tests/test_regex_parens.out new file mode 100644 index 0000000..0f0971e --- /dev/null +++ b/tests/test_regex_parens.out @@ -0,0 +1 @@ +./( diff --git a/tests/test_regextype_posix_basic.out b/tests/test_regextype_posix_basic.out new file mode 100644 index 0000000..0f0971e --- /dev/null +++ b/tests/test_regextype_posix_basic.out @@ -0,0 +1 @@ +./( diff --git a/tests/test_regextype_posix_extended.out b/tests/test_regextype_posix_extended.out new file mode 100644 index 0000000..0f0971e --- /dev/null +++ b/tests/test_regextype_posix_extended.out @@ -0,0 +1 @@ +./( diff --git a/tests/test_samefile.out b/tests/test_samefile.out new file mode 100644 index 0000000..892c879 --- /dev/null +++ b/tests/test_samefile.out @@ -0,0 +1,2 @@ +links/a +links/c diff --git a/tests/test_size.out b/tests/test_size.out new file mode 100644 index 0000000..eeabbd7 --- /dev/null +++ b/tests/test_size.out @@ -0,0 +1,6 @@ +basic/a +basic/b +basic/c/d +basic/e/f +basic/j/foo +basic/k/foo/bar diff --git a/tests/test_size_T.out b/tests/test_size_T.out new file mode 100644 index 0000000..279f3f1 --- /dev/null +++ b/tests/test_size_T.out @@ -0,0 +1 @@ +basic/l/foo/bar/baz diff --git a/tests/test_size_big.out b/tests/test_size_big.out new file mode 100644 index 0000000..e69de29 diff --git a/tests/test_size_bytes.out b/tests/test_size_bytes.out new file mode 100644 index 0000000..279f3f1 --- /dev/null +++ b/tests/test_size_bytes.out @@ -0,0 +1 @@ +basic/l/foo/bar/baz diff --git a/tests/test_size_plus.out b/tests/test_size_plus.out new file mode 100644 index 0000000..279f3f1 --- /dev/null +++ b/tests/test_size_plus.out @@ -0,0 +1 @@ +basic/l/foo/bar/baz diff --git a/tests/test_type_d.out b/tests/test_type_d.out new file mode 100644 index 0000000..1e72fd9 --- /dev/null +++ b/tests/test_type_d.out @@ -0,0 +1,12 @@ +basic +basic/c +basic/e +basic/g +basic/i +basic/j +basic/k +basic/l +basic/g/h +basic/k/foo +basic/l/foo +basic/l/foo/bar diff --git a/tests/test_type_f.out b/tests/test_type_f.out new file mode 100644 index 0000000..6218a0c --- /dev/null +++ b/tests/test_type_f.out @@ -0,0 +1,7 @@ +basic/a +basic/b +basic/c/d +basic/e/f +basic/j/foo +basic/k/foo/bar +basic/l/foo/bar/baz diff --git a/tests/test_type_multi.out b/tests/test_type_multi.out new file mode 100644 index 0000000..1f94970 --- /dev/null +++ b/tests/test_type_multi.out @@ -0,0 +1,6 @@ +links +links/a +links/c +links/d +links/d/e +links/d/e/f diff --git a/tests/test_uid.out b/tests/test_uid.out new file mode 100644 index 0000000..bb3cd8d --- /dev/null +++ b/tests/test_uid.out @@ -0,0 +1,19 @@ +basic +basic/a +basic/b +basic/c +basic/e +basic/g +basic/i +basic/j +basic/k +basic/l +basic/c/d +basic/e/f +basic/g/h +basic/j/foo +basic/k/foo +basic/l/foo +basic/k/foo/bar +basic/l/foo/bar +basic/l/foo/bar/baz diff --git a/tests/test_uid_minus.out b/tests/test_uid_minus.out new file mode 100644 index 0000000..bb3cd8d --- /dev/null +++ b/tests/test_uid_minus.out @@ -0,0 +1,19 @@ +basic +basic/a +basic/b +basic/c +basic/e +basic/g +basic/i +basic/j +basic/k +basic/l +basic/c/d +basic/e/f +basic/g/h +basic/j/foo +basic/k/foo +basic/l/foo +basic/k/foo/bar +basic/l/foo/bar +basic/l/foo/bar/baz diff --git a/tests/test_uid_name.out b/tests/test_uid_name.out new file mode 100644 index 0000000..bb3cd8d --- /dev/null +++ b/tests/test_uid_name.out @@ -0,0 +1,19 @@ +basic +basic/a +basic/b +basic/c +basic/e +basic/g +basic/i +basic/j +basic/k +basic/l +basic/c/d +basic/e/f +basic/g/h +basic/j/foo +basic/k/foo +basic/l/foo +basic/k/foo/bar +basic/l/foo/bar +basic/l/foo/bar/baz diff --git a/tests/test_uid_plus.out b/tests/test_uid_plus.out new file mode 100644 index 0000000..bb3cd8d --- /dev/null +++ b/tests/test_uid_plus.out @@ -0,0 +1,19 @@ +basic +basic/a +basic/b +basic/c +basic/e +basic/g +basic/i +basic/j +basic/k +basic/l +basic/c/d +basic/e/f +basic/g/h +basic/j/foo +basic/k/foo +basic/l/foo +basic/k/foo/bar +basic/l/foo/bar +basic/l/foo/bar/baz diff --git a/tests/test_user_id.out b/tests/test_user_id.out new file mode 100644 index 0000000..bb3cd8d --- /dev/null +++ b/tests/test_user_id.out @@ -0,0 +1,19 @@ +basic +basic/a +basic/b +basic/c +basic/e +basic/g +basic/i +basic/j +basic/k +basic/l +basic/c/d +basic/e/f +basic/g/h +basic/j/foo +basic/k/foo +basic/l/foo +basic/k/foo/bar +basic/l/foo/bar +basic/l/foo/bar/baz diff --git a/tests/test_user_name.out b/tests/test_user_name.out new file mode 100644 index 0000000..bb3cd8d --- /dev/null +++ b/tests/test_user_name.out @@ -0,0 +1,19 @@ +basic +basic/a +basic/b +basic/c +basic/e +basic/g +basic/i +basic/j +basic/k +basic/l +basic/c/d +basic/e/f +basic/g/h +basic/j/foo +basic/k/foo +basic/l/foo +basic/k/foo/bar +basic/l/foo/bar +basic/l/foo/bar/baz diff --git a/tests/test_weird_names.out b/tests/test_weird_names.out new file mode 100644 index 0000000..73d0ff3 --- /dev/null +++ b/tests/test_weird_names.out @@ -0,0 +1,28 @@ +!- +!- +(- +(- +) +) +, +, +- +- +!-/e +!-/e +(-/c +(-/c +)/g +)/g +,/f +,/f +-/a +-/a +./! +./! +./( +./( +./!/d +./!/d +./(/b +./(/b diff --git a/tests/test_writable.out b/tests/test_writable.out new file mode 100644 index 0000000..9a5b95a --- /dev/null +++ b/tests/test_writable.out @@ -0,0 +1,5 @@ +perms +perms/rw +perms/rwx +perms/w +perms/wx diff --git a/tests/test_xtype_f.out b/tests/test_xtype_f.out new file mode 100644 index 0000000..2a65132 --- /dev/null +++ b/tests/test_xtype_f.out @@ -0,0 +1,3 @@ +links/a +links/b +links/c diff --git a/tests/test_xtype_l.out b/tests/test_xtype_l.out new file mode 100644 index 0000000..e5e13fc --- /dev/null +++ b/tests/test_xtype_l.out @@ -0,0 +1 @@ +links/d/e/i diff --git a/tests/test_xtype_multi.out b/tests/test_xtype_multi.out new file mode 100644 index 0000000..8849bb9 --- /dev/null +++ b/tests/test_xtype_multi.out @@ -0,0 +1,9 @@ +links +links/a +links/b +links/c +links/d +links/h +links/d/e +links/d/e/f +links/d/e/g -- cgit v1.2.3