diff options
Diffstat (limited to 'tests/cp_tests.mk')
-rw-r--r-- | tests/cp_tests.mk | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/tests/cp_tests.mk b/tests/cp_tests.mk index f6e6c0df7..b96c5cea6 100644 --- a/tests/cp_tests.mk +++ b/tests/cp_tests.mk | |||
@@ -14,10 +14,11 @@ clean:: cp_clean | |||
14 | cp_clean: | 14 | cp_clean: |
15 | - rm -rf cp_tests cp_*.{gnu,bb} cp | 15 | - rm -rf cp_tests cp_*.{gnu,bb} cp |
16 | 16 | ||
17 | # check_cp_dir_to_dir_wo_a removed from this list; see below | ||
17 | cp_tests: cp_clean cp check_exists check_simple_cp check_cp_symlnk \ | 18 | cp_tests: cp_clean cp check_exists check_simple_cp check_cp_symlnk \ |
18 | check_cp_symlink_w_a check_cp_files_to_dir check_cp_files_to_dir_w_d \ | 19 | check_cp_symlink_w_a check_cp_files_to_dir check_cp_files_to_dir_w_d \ |
19 | check_cp_files_to_dir_w_p check_cp_files_to_dir_w_p_and_d \ | 20 | check_cp_files_to_dir_w_p check_cp_files_to_dir_w_p_and_d \ |
20 | check_cp_dir_to_dir_wo_a check_cp_dir_to_dir_w_a \ | 21 | check_cp_dir_to_dir_w_a \ |
21 | check_cp_dir_to_dir_w_a_take_two | 22 | check_cp_dir_to_dir_w_a_take_two |
22 | 23 | ||
23 | check_exists: | 24 | check_exists: |
@@ -247,6 +248,11 @@ check_cp_files_to_dir_w_p_and_d: | |||
247 | @echo; | 248 | @echo; |
248 | rm -rf cp_tests/{afile{1,2},symlink1,there1}; | 249 | rm -rf cp_tests/{afile{1,2},symlink1,there1}; |
249 | 250 | ||
251 | # This test doesn't work any more; gnu cp now _does_ copy a directory | ||
252 | # to a subdirectory of itself. What's worse, that "feature" has no | ||
253 | # (documented) way to be disabled with command line switches. | ||
254 | # It's not obvious that busybox cp should mimic this behavior. | ||
255 | # For now, this test is removed from the cp_tests list, above. | ||
250 | check_cp_dir_to_dir_wo_a: | 256 | check_cp_dir_to_dir_wo_a: |
251 | # Copy a directory to another directory, without the -a switch. | 257 | # Copy a directory to another directory, without the -a switch. |
252 | @echo; echo Copy a directory to another directory, without the -a switch. | 258 | @echo; echo Copy a directory to another directory, without the -a switch. |