diff options
author | Eric Andersen <andersen@codepoet.org> | 2000-12-11 17:33:08 +0000 |
---|---|---|
committer | Eric Andersen <andersen@codepoet.org> | 2000-12-11 17:33:08 +0000 |
commit | 59ec601b8e4db86e1861d12f4efc6d1dbb440e28 (patch) | |
tree | fff533c0d7940113db52c3f2c88d591fd278c2f5 /tests/cp_tests.mk | |
parent | a293a516ad5af82028425f23a722fb75411d985b (diff) | |
download | busybox-w32-59ec601b8e4db86e1861d12f4efc6d1dbb440e28.tar.gz busybox-w32-59ec601b8e4db86e1861d12f4efc6d1dbb440e28.tar.bz2 busybox-w32-59ec601b8e4db86e1861d12f4efc6d1dbb440e28.zip |
Test suite update from Larry Doolittle to disable some problematic
ambiguous cases. Everything now passes the test suite...
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. |