Home | History | Annotate | Download | only in tests

Lines Matching refs:dir2

26 mkdir dir1 dir2
29 testing "Move multiple files/dir to a dir" "mv file1 file2 link1 dir1 dir2 &&
31 [ -f dir2/file1 -a -f dir2/file2 -a -L dir2/link1 -a -d dir2/dir1 ] &&
32 [ -f dir2/dir1/file3 ] && readlink dir2/link1" "file1\n" "" ""
41 testing "Move enpty dir to new_dir" "mv dir1 dir2 &&
42 [ ! -d dir1 -a -d dir2 ] && echo 'yes'" "yes\n" "" ""
78 mkdir -p dir1/dir2 dir3
79 touch dir1/dir2/file1 dir1/dir2/file2
80 testing "Move dir1/dir2 dir3/new_dir" "mv dir1/dir2 dir3/dir4 &&
81 [ ! -e dir1/dir2 -a -d dir3/dir4 -a -f dir3/dir4/file1 ] &&
85 mkdir dir1 dir2
86 testing "Move dir new_dir (already exist)" "mv dir1 dir2 &&
87 [ ! -e dir1 -a -d dir2/dir1 ] && echo 'yes'" "yes\n" "" ""