source: MondoRescue/branches/2.2.9/mindi-busybox/testsuite/mv/mv-files-to-dir@ 2725

Last change on this file since 2725 was 2725, checked in by Bruno Cornec, 13 years ago
  • Update mindi-busybox to 1.18.3 to avoid problems with the tar command which is now failing on recent versions with busybox 1.7.3
File size: 381 bytes
Line 
1echo file number one > file1
2echo file number two > file2
3ln -s file2 link1
4mkdir dir1
5TZ=UTC0 touch -d '2000-01-30 05:24:08' dir1/file3
6mkdir there
7busybox mv file1 file2 link1 dir1 there
8test -f there/file1
9test -f there/file2
10test -f there/dir1/file3
11test -L there/link1
12test xfile2 = x`readlink there/link1`
13test ! -e file1
14test ! -e file2
15test ! -e link1
16test ! -e dir1/file3
Note: See TracBrowser for help on using the repository browser.