diff options
Diffstat (limited to 'tests/mv_tests.mk')
-rw-r--r-- | tests/mv_tests.mk | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/tests/mv_tests.mk b/tests/mv_tests.mk index 81b8ffdec..f03e08a73 100644 --- a/tests/mv_tests.mk +++ b/tests/mv_tests.mk | |||
@@ -144,8 +144,8 @@ mv_tests: mv_clean mv | |||
144 | @echo; echo ------------------------------; | 144 | @echo; echo ------------------------------; |
145 | @echo There should be an error message about cannot mv a dir to a subdir of itself. | 145 | @echo There should be an error message about cannot mv a dir to a subdir of itself. |
146 | cd mv_tests; \ | 146 | cd mv_tests; \ |
147 | touch a b c; \ | ||
148 | mkdir adir; \ | 147 | mkdir adir; \ |
148 | touch -r . a b c adir; \ | ||
149 | ls -lR . > ../mv_a_star_adir.gnu; \ | 149 | ls -lR . > ../mv_a_star_adir.gnu; \ |
150 | ${GMV} * adir; \ | 150 | ${GMV} * adir; \ |
151 | ls -lR . >> ../mv_a_star_adir.gnu; | 151 | ls -lR . >> ../mv_a_star_adir.gnu; |
@@ -153,8 +153,9 @@ mv_tests: mv_clean mv | |||
153 | @echo | 153 | @echo |
154 | @echo There should be an error message about cannot mv a dir to a subdir of itself. | 154 | @echo There should be an error message about cannot mv a dir to a subdir of itself. |
155 | cd mv_tests; \ | 155 | cd mv_tests; \ |
156 | rm -rf adir; \ | 156 | rm -rf a b c adir; \ |
157 | mkdir adir; \ | 157 | mkdir adir; \ |
158 | touch -r . a b c adir; \ | ||
158 | ls -lR . > ../mv_a_star_adir.bb; \ | 159 | ls -lR . > ../mv_a_star_adir.bb; \ |
159 | ${BMV} * adir; \ | 160 | ${BMV} * adir; \ |
160 | ls -lR . >> ../mv_a_star_adir.bb; | 161 | ls -lR . >> ../mv_a_star_adir.bb; |