summaryrefslogtreecommitdiff
path: root/reg_test.sh
diff options
context:
space:
mode:
authorErik Andersen2000-02-07 05:30:41 +0000
committerErik Andersen2000-02-07 05:30:41 +0000
commitd7cd21aed531696aae1ebeeb95dd012c1a2e1e5c (patch)
treeefc8f446f4d09628e813a1e39ed52a08d05364da /reg_test.sh
parentfac10d7c59f7db0facd5fb94de273310b9ec86e6 (diff)
downloadbusybox-d7cd21aed531696aae1ebeeb95dd012c1a2e1e5c.zip
busybox-d7cd21aed531696aae1ebeeb95dd012c1a2e1e5c.tar.gz
Remove the now obsolete test. Tests now
live in the tests directory. -Erik
Diffstat (limited to 'reg_test.sh')
-rwxr-xr-xreg_test.sh148
1 files changed, 0 insertions, 148 deletions
diff --git a/reg_test.sh b/reg_test.sh
deleted file mode 100755
index 8177096..0000000
--- a/reg_test.sh
+++ /dev/null
@@ -1,148 +0,0 @@
-#!/bin/sh
-
-
-
-rm -rf testdir
-./busybox cp tar.c testdir
-
-if ! eval diff -u tar.c testdir ; then
- echo "Bummer. File copy failed."
- exit 0
-else
- echo "Cool. 'cp tar.c testdir' is ok."
-fi
-
-rm -rf testdir
-mkdir -p testdir/foo
-./busybox cp tar.c testdir/foo
-
-if ! eval diff -u tar.c testdir/foo/tar.c ; then
- echo "Bummer. File copy to a directory failed."
- exit 0
-else
- echo "Cool. 'cp tar.c testdir/foo' is ok."
-fi
-
-
-rm -rf testdir
-mkdir -p testdir/foo
-./busybox cp tar.c testdir/foo/
-
-if ! eval diff -u tar.c testdir/foo/tar.c ; then
- echo "Bummer. File copy to a directory w/ a '/' failed."
- exit 0
-else
- echo "Cool. 'cp tar.c testdir/foo/' is ok."
-fi
-
-
-rm -rf testdir X11
-cp -a /etc/X11 .
-./busybox cp -a X11 testdir
-
-if ! eval diff -ur X11 testdir ; then
- echo "Bummer. Local dir copy failed."
- exit 0
-else
- echo "Cool. 'cp -a X11 testdir' is ok."
-fi
-
-rm -rf testdir X11
-cp -a /etc/X11 .
-./busybox cp -a X11 testdir/
-
-if ! eval diff -ur X11 testdir ; then
- echo "Bummer. Local dir copy w/ a '/' failed."
- exit 0
-else
- echo "Cool. 'cp -a X11 testdir/' is ok."
-fi
-
-rm -rf testdir X11
-cp -a /etc/X11 .
-./busybox cp -a X11/ testdir
-
-if ! eval diff -ur X11 testdir ; then
- echo "Bummer. Local dir copy w/ a src '/' failed."
- exit 0
-else
- echo "Cool. 'cp -a X11/ testdir' is ok."
-fi
-
-rm -rf testdir X11
-cp -a /etc/X11 .
-./busybox cp -a X11/ testdir/
-
-if ! eval diff -ur X11 testdir ; then
- echo "Bummer. Local dir copy w/ 2x '/'s failed."
- exit 0
-else
- echo "Cool. 'cp -a X11/ testdir/' is ok."
-fi
-
-rm -rf testdir X11
-./busybox cp -a /etc/X11 testdir
-if ! eval diff -ur /etc/X11 testdir ; then
- echo "Bummer. Remote dir copy failed."
- exit 0
-else
- echo "Cool. 'cp -a /etc/X11 testdir' is ok."
-fi
-
-
-rm -rf testdir X11
-mkdir -p testdir/foo
-
-./busybox cp -a /etc/X11 testdir/foo
-if ! eval diff -ur /etc/X11 testdir/foo ; then
- echo "Bummer. Remote dir copy to a directory failed."
- exit 0
-else
- echo "Cool. 'cp -a /etc/X11 testdir/foo' is ok."
-fi
-
-
-rm -rf testdir X11
-mkdir -p testdir/foo
-
-./busybox cp -a /etc/X11 testdir/foo/
-if ! eval diff -ur /etc/X11 testdir/foo ; then
- echo "Bummer. Remote dir copy to a directory w/ a '/' failed."
- exit 0
-else
- echo "Cool. 'cp -a /etc/X11 testdir/foo/' is ok."
-fi
-
-rm -rf testdir
-
-
-rm -rf foo bar
-mkdir foo
-mkdir bar
-
-if ! eval ./busybox cp README foo ; then
- echo "Bummer. cp README foo failed."
- exit 0
-else
- echo "Cool. 'cp README foo' is ok."
-fi
-
-if ! eval ./busybox cp foo/README bar ; then
- echo "Bummer. cp foo/README bar failed."
- exit 0
-else
- echo "Cool. 'cp foo/README bar' is ok."
-fi
-
-rm -f bar/README
-ENVVAR1=foo
-ENVVAR2=bar
-if ! eval ./busybox cp $ENVVAR1/README $ENVVAR2 ; then
- echo "Bummer. cp foo/README bar failed."
- exit 0
-else
- echo "Cool. 'cp \$ENVVAR1/README \$ENVVAR2' is ok."
-fi
-
-rm -rf foo bar
-