6 ./busybox cp tar.c testdir
8 if ! eval diff -u tar.c testdir ; then
10 echo "Bummer. File copy failed."
13 echo "Cool. File copy is ok."
19 ./busybox cp tar.c testdir/foo
21 if ! eval diff -u tar.c testdir/foo/tar.c ; then
23 echo "Bummer. File copy to a directory failed."
26 echo "Cool. File copy to a directory is ok."
33 ./busybox cp tar.c testdir/foo/
35 if ! eval diff -u tar.c testdir/foo/tar.c ; then
37 echo "Bummer. File copy to a directory w/ a '/' failed."
40 echo "Cool. File copy to a directory w/ a '/' is ok."
47 ./busybox cp -a X11 testdir
49 if ! eval diff -ur X11 testdir ; then
51 echo "Bummer. Local dir copy failed."
54 echo "Cool. Local dir copy is ok."
60 ./busybox cp -a X11 testdir/
62 if ! eval diff -ur X11 testdir ; then
64 echo "Bummer. Local dir copy w/ a '/' failed."
67 echo "Cool. Local dir copy w/ a '/' is ok."
73 ./busybox cp -a X11/ testdir
75 if ! eval diff -ur X11 testdir ; then
77 echo "Bummer. Local dir copy w/ a src '/' failed."
80 echo "Cool. Local dir copy w/ a src '/' is ok."
86 ./busybox cp -a X11/ testdir/
88 if ! eval diff -ur X11 testdir ; then
90 echo "Bummer. Local dir copy w/ 2x '/'s failed."
93 echo "Cool. Local dir copy w/ 2x '/'s is ok."
98 ./busybox cp -a /etc/X11 testdir
99 if ! eval diff -ur /etc/X11 testdir ; then
101 echo "Bummer. Remote dir copy failed."
104 echo "Cool. Remote dir copy is ok."
112 ./busybox cp -a /etc/X11 testdir/foo
113 if ! eval diff -ur /etc/X11 testdir/foo ; then
115 echo "Bummer. Remote dir copy to a directory failed."
118 echo "Cool. Remote dir copy to a directory is ok."
126 ./busybox cp -a /etc/X11 testdir/foo/
127 if ! eval diff -ur /etc/X11 testdir/foo ; then
129 echo "Bummer. Remote dir copy to a directory w/ a '/' failed."
132 echo "Cool. Remote dir copy to a directory w/ a '/' is ok."