faubackup2/tests test_full_copy.sh,1.3,1.4 test_full_link.sh,1.4,1.5 test_time_simple.sh,1.5,1.6

Erik Merkel <[email protected]> Mon, 06 Jun 2005 09:27:43 +0000
Newsgroups gmane.comp.sysutils.backup.faubackup.cvs
Message-ID <[email protected]>
Update of /cvsroot/faubackup/faubackup2/tests
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv31607/tests

Modified Files:
	test_full_copy.sh test_full_link.sh test_time_simple.sh 
Log Message:
corrected $sourcedir issue in tests


Index: test_time_simple.sh
===================================================================
RCS file: /cvsroot/faubackup/faubackup2/tests/test_time_simple.sh,v
retrieving revision 1.5
retrieving revision 1.6
diff -C2 -d -r1.5 -r1.6
*** test_time_simple.sh	4 Jun 2005 14:51:28 -0000	1.5
--- test_time_simple.sh	6 Jun 2005 09:27:41 -0000	1.6
***************
*** 27,31 ****
  
  export FAUBACKUP_BIN=../src/faubackup
! export FAUBACKUP_CONF=`pwd`/testdir/faubackup2.conf
  export FAUBACKUP_TIME=20040511101010
  
--- 27,31 ----
  
  export FAUBACKUP_BIN=../src/faubackup
! export FAUBACKUP_CONF=testdir/faubackup2.conf
  export FAUBACKUP_TIME=20040511101010
  
***************
*** 84,88 ****
  
  #rm -rf testdir/200* testdir/*.txt testdir/*/faubackuprc testdir/faubackup2.conf
! FAUBACKUP_CONF=`pwd`/testdir/faubackup.conf
  export FAUBACKUP_CONF
  
--- 84,88 ----
  
  #rm -rf testdir/200* testdir/*.txt testdir/*/faubackuprc testdir/faubackup2.conf
! FAUBACKUP_CONF=testdir/faubackup.conf
  export FAUBACKUP_CONF
  

Index: test_full_link.sh
===================================================================
RCS file: /cvsroot/faubackup/faubackup2/tests/test_full_link.sh,v
retrieving revision 1.4
retrieving revision 1.5
diff -C2 -d -r1.4 -r1.5
*** test_full_link.sh	3 Jun 2005 21:03:02 -0000	1.4
--- test_full_link.sh	6 Jun 2005 09:27:41 -0000	1.5
***************
*** 4,8 ****
  export FAUBACKUP_BIN=../src/faubackup
  export FAUBACKUP_TIME=20041111101010
! export FAUBACKUP_CONF=$srcdir/testdir/faubackup.conf
  test -d testdir/new || echo "Creating testfiles"
  test -d testdir/new || $srcdir/create_test_files.sh > /dev/null
--- 4,8 ----
  export FAUBACKUP_BIN=../src/faubackup
  export FAUBACKUP_TIME=20041111101010
! export FAUBACKUP_CONF=testdir/faubackup.conf
  test -d testdir/new || echo "Creating testfiles"
  test -d testdir/new || $srcdir/create_test_files.sh > /dev/null
***************
*** 13,18 ****
  cd ..
  echo "running faubackup"
! $FAUBACKUP_BIN $srcdir/testdir/new testdir/ || exit -1
  echo "diff..."
! diff -qr $srcdir/testdir/2004-11-11@10:10:10 $srcdir/testdir/2004-10-10@10:10:00/ || exit -1
! rm -rf $srcdir/testdir/2004-1*
--- 13,18 ----
  cd ..
  echo "running faubackup"
! $FAUBACKUP_BIN testdir/new testdir/ || exit -1
  echo "diff..."
! diff -qr testdir/2004-11-11@10:10:10 testdir/2004-10-10@10:10:00/ || exit -1
! rm -rf testdir/2004-1*

Index: test_full_copy.sh
===================================================================
RCS file: /cvsroot/faubackup/faubackup2/tests/test_full_copy.sh,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -d -r1.3 -r1.4
*** test_full_copy.sh	3 Jun 2005 07:48:28 -0000	1.3
--- test_full_copy.sh	6 Jun 2005 09:27:41 -0000	1.4
***************
*** 4,8 ****
  export FAUBACKUP_BIN=../src/faubackup
  export FAUBACKUP_TIME=20041111101010
! export FAUBACKUP_CONF=`pwd`/testdir/faubackup.conf
  test -d testdir/new || echo "Creating testfiles"
  test -d testdir/new || $srcdir/create_test_files.sh > /dev/null
--- 4,8 ----
  export FAUBACKUP_BIN=../src/faubackup
  export FAUBACKUP_TIME=20041111101010
! export FAUBACKUP_CONF=testdir/faubackup.conf
  test -d testdir/new || echo "Creating testfiles"
  test -d testdir/new || $srcdir/create_test_files.sh > /dev/null



-------------------------------------------------------
This SF.Net email is sponsored by: NEC IT Guy Games.  How far can you shotput
a projector? How fast can you ride your desk chair down the office luge track?
If you want to score the big prize, get to know the little guy.  
Play to win an NEC 61" plasma display: http://www.necitguy.com/?r=20