From 378c18e5f024ac5a8aef4cb40d7c9aa9633d144c Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Sun, 7 Apr 2024 16:30:35 +0200 Subject: Adding upstream version 2.38.1. Signed-off-by: Daniel Baumann --- tests/expected/rename/basic | 18 ++++++++++++++++++ tests/expected/rename/exit_codes | 6 ++++++ tests/expected/rename/exit_codes.err | 1 + tests/expected/rename/overwrite | 1 + tests/expected/rename/subdir | 29 +++++++++++++++++++++++++++++ tests/expected/rename/symlink | 7 +++++++ tests/expected/rename/symlink.err | 1 + 7 files changed, 63 insertions(+) create mode 100644 tests/expected/rename/basic create mode 100644 tests/expected/rename/exit_codes create mode 100644 tests/expected/rename/exit_codes.err create mode 100644 tests/expected/rename/overwrite create mode 100644 tests/expected/rename/subdir create mode 100644 tests/expected/rename/symlink create mode 100644 tests/expected/rename/symlink.err (limited to 'tests/expected/rename') diff --git a/tests/expected/rename/basic b/tests/expected/rename/basic new file mode 100644 index 0000000..4a18098 --- /dev/null +++ b/tests/expected/rename/basic @@ -0,0 +1,18 @@ +`rename_basic.1' -> `rename_test.1' +`rename_basic.2' -> `rename_test.2' +`rename_basic.3' -> `rename_test.3' +what is rename_basic.? doing here? +`rename_all file with spaces.1' -> `rename_all_file_with_spaces.1' +`rename_all file with spaces.2' -> `rename_all_file_with_spaces.2' +`rename_all file with spaces.3' -> `rename_all_file_with_spaces.3' +what is rename_all* *.? doing here? +`rename_zz_last_z.x' -> `rename_AAzzBB_last_z.x' +`rename_zz_last_z.y' -> `rename_AAzzBB_last_z.y' +`rename_zz_last_z.z' -> `rename_AAzzBB_last_z.z' +`rename_zz_last_zz.x' -> `rename_zz_last_AAzzBB.x' +`rename_zz_last_zz.y' -> `rename_zz_last_AAzzBB.y' +`rename_zz_last_zz.z' -> `rename_zz_last_AAzzBB.z' +`rename_zz_last_zzz.x' -> `rename_zz_last_zAAzzBB.x' +`rename_zz_last_zzz.y' -> `rename_zz_last_zAAzzBB.y' +`rename_zz_last_zzz.z' -> `rename_zz_last_zAAzzBB.z' +what is rename*last* doing here? diff --git a/tests/expected/rename/exit_codes b/tests/expected/rename/exit_codes new file mode 100644 index 0000000..07885f7 --- /dev/null +++ b/tests/expected/rename/exit_codes @@ -0,0 +1,6 @@ +RENAME_EXIT_NOTHING: 4 +`rename_exit_codes.1' -> `rename_exit_values.1' +`rename_exit_codes.2' -> `rename_exit_values.2' +EXIT_SUCCESS: 0 +`rename_exit_values.1' -> `rename_exit_codes.1' +RENAME_EXIT_SOMEOK: 2 diff --git a/tests/expected/rename/exit_codes.err b/tests/expected/rename/exit_codes.err new file mode 100644 index 0000000..6478542 --- /dev/null +++ b/tests/expected/rename/exit_codes.err @@ -0,0 +1 @@ +rename: rename_exit_values.2: rename to rename_exit_codes.2 failed: Is a directory diff --git a/tests/expected/rename/overwrite b/tests/expected/rename/overwrite new file mode 100644 index 0000000..b16f799 --- /dev/null +++ b/tests/expected/rename/overwrite @@ -0,0 +1 @@ +Skipping existing file: `rename_to' diff --git a/tests/expected/rename/subdir b/tests/expected/rename/subdir new file mode 100644 index 0000000..f429602 --- /dev/null +++ b/tests/expected/rename/subdir @@ -0,0 +1,29 @@ +== files == +`rename_aa/aa' -> `rename_aa/xa' +`rename_ab/aa' -> `rename_ab/xa' +rename_aa +rename_aa/xa +rename_ab +rename_ab/xa +== symlinks == +rename_aa/sublink.1: `rename/aa' -> `renxme/aa' +rename_aa/sublink.2: `rename/aa' -> `renxme/aa' +rename_aa/sublink.3: `rename/aa' -> `renxme/aa' +rename_ab/sublink.1: `rename/aa' -> `renxme/aa' +rename_ab/sublink.2: `rename/aa' -> `renxme/aa' +rename_ab/sublink.3: `rename/aa' -> `renxme/aa' +renxme/aa +renxme/aa +renxme/aa +renxme/aa +renxme/aa +renxme/aa +== fullpath == +`./rename_path1' -> `./rename_path2' +./rename_path2 +`rename_path_test1' -> `rename_path_a/test1' +./rename_path_a/test1 +`rename_path_a/test2' -> `rename_path_b/test2' +rename_path_a +rename_path_b +rename_path_b/test2 diff --git a/tests/expected/rename/symlink b/tests/expected/rename/symlink new file mode 100644 index 0000000..880215f --- /dev/null +++ b/tests/expected/rename/symlink @@ -0,0 +1,7 @@ +rename_slink.1: `old' -> `new' +rename_slink.2: `old' -> `new' +rename_slink.3: `old' -> `new' +`rename_slink.1' -> `rename_symlink.1' +target +`rename_slink.2' -> `rename_symlink.2' +target diff --git a/tests/expected/rename/symlink.err b/tests/expected/rename/symlink.err new file mode 100644 index 0000000..956b119 --- /dev/null +++ b/tests/expected/rename/symlink.err @@ -0,0 +1 @@ +rename: rename_slink.3: No such file or directory -- cgit v1.2.3