3 if [ -z "$1" -o -z "$2" ] ; then
5 echo "Usage: ./test.sh MAJOR MINOR HEAD"
7 echo "Set the environment var CVSROOT to use a different repository."
8 echo "Set CVSREP to a different directory if needed."
10 echo "Creates the release tarball from CVS sources, tests the compile"
11 echo "on local machine, fedora 5, 6, and 7, and opensuse 10.2."
19 .
/make-release-tar.sh
$1 $2 $3
21 # Make sure it compiles cleanly on all handy systems
23 .
/test-build-local.sh build
/barry-
$1.
$2.
tar.bz2
25 # Then as root, for the chroot systems...
26 su
- -c "cd $(pwd) && ./test-root.sh $1 $2"