summaryrefslogtreecommitdiff
path: root/tests/mv_tests.mk
diff options
context:
space:
mode:
Diffstat (limited to 'tests/mv_tests.mk')
-rw-r--r--tests/mv_tests.mk5
1 files changed, 3 insertions, 2 deletions
diff --git a/tests/mv_tests.mk b/tests/mv_tests.mk
index 81b8ffd..f03e08a 100644
--- a/tests/mv_tests.mk
+++ b/tests/mv_tests.mk
@@ -144,8 +144,8 @@ mv_tests: mv_clean mv
@echo; echo ------------------------------;
@echo There should be an error message about cannot mv a dir to a subdir of itself.
cd mv_tests; \
- touch a b c; \
mkdir adir; \
+ touch -r . a b c adir; \
ls -lR . > ../mv_a_star_adir.gnu; \
${GMV} * adir; \
ls -lR . >> ../mv_a_star_adir.gnu;
@@ -153,8 +153,9 @@ mv_tests: mv_clean mv
@echo
@echo There should be an error message about cannot mv a dir to a subdir of itself.
cd mv_tests; \
- rm -rf adir; \
+ rm -rf a b c adir; \
mkdir adir; \
+ touch -r . a b c adir; \
ls -lR . > ../mv_a_star_adir.bb; \
${BMV} * adir; \
ls -lR . >> ../mv_a_star_adir.bb;