faubackup2/tests test_full_copy.sh,1.2,1.3 test_full_link.sh,1.2,1.3 test_incremental_backup.sh,1.2,1.3 test_time_simple.sh,1.2,1.3

Martin Waitz <[email protected]> Fri, 03 Jun 2005 07:48:31 +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-serv24418/tests

Modified Files:
	test_full_copy.sh test_full_link.sh test_incremental_backup.sh 
	test_time_simple.sh 
Log Message:
use $srcdir

Index: test_time_simple.sh
===================================================================
RCS file: /cvsroot/faubackup/faubackup2/tests/test_time_simple.sh,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** test_time_simple.sh	2 Jun 2005 11:43:38 -0000	1.2
--- test_time_simple.sh	3 Jun 2005 07:48:28 -0000	1.3
***************
*** 1,6 ****
  #!/bin/bash
  
  test -d testdir/new || echo "Creating testfiles"
! test -d testdir/new || ./create_test_files.sh > /dev/null
  
  #never backup
--- 1,7 ----
  #!/bin/bash
+ : ${srcdir=.}
  
  test -d testdir/new || echo "Creating testfiles"
! test -d testdir/new || $srcdir/create_test_files.sh > /dev/null
  
  #never backup

Index: test_full_link.sh
===================================================================
RCS file: /cvsroot/faubackup/faubackup2/tests/test_full_link.sh,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** test_full_link.sh	2 Jun 2005 11:43:38 -0000	1.2
--- test_full_link.sh	3 Jun 2005 07:48:28 -0000	1.3
***************
*** 1,3 ****
--- 1,4 ----
  #!/bin/bash
+ : ${srcdir=.}
  
  export FAUBACKUP_BIN=../src/faubackup
***************
*** 5,9 ****
  export FAUBACKUP_CONF=`pwd`/testdir/faubackup.conf
  test -d testdir/new || echo "Creating testfiles"
! test -d testdir/new || ./create_test_files.sh > /dev/null
  cd testdir
  echo "Making dublicate old backup dir"
--- 6,10 ----
  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
  cd testdir
  echo "Making dublicate old backup dir"

Index: test_full_copy.sh
===================================================================
RCS file: /cvsroot/faubackup/faubackup2/tests/test_full_copy.sh,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** test_full_copy.sh	2 Jun 2005 11:43:38 -0000	1.2
--- test_full_copy.sh	3 Jun 2005 07:48:28 -0000	1.3
***************
*** 1,3 ****
--- 1,4 ----
  #!/bin/bash
+ : ${srcdir=.}
  
  export FAUBACKUP_BIN=../src/faubackup
***************
*** 5,9 ****
  export FAUBACKUP_CONF=`pwd`/testdir/faubackup.conf
  test -d testdir/new || echo "Creating testfiles"
! test -d testdir/new || ./create_test_files.sh > /dev/null
  echo "running faubackup"
  $FAUBACKUP_BIN testdir/old testdir/ || exit -1
--- 6,10 ----
  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
  echo "running faubackup"
  $FAUBACKUP_BIN testdir/old testdir/ || exit -1

Index: test_incremental_backup.sh
===================================================================
RCS file: /cvsroot/faubackup/faubackup2/tests/test_incremental_backup.sh,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** test_incremental_backup.sh	2 Jun 2005 11:43:38 -0000	1.2
--- test_incremental_backup.sh	3 Jun 2005 07:48:28 -0000	1.3
***************
*** 1,3 ****
--- 1,4 ----
  #!/bin/bash
+ : ${srcdir=.}
  
  export FAUBACKUP_BIN=../src/faubackup
***************
*** 5,9 ****
  export FAUBACKUP_CONF=`pwd`/testdir/faubackup.conf
  test -d testdir/new || echo "Creating testfiles"
! test -d testdir/new || ./create_test_files.sh > /dev/null
  echo "running faubackup"
  $FAUBACKUP_BIN testdir/old testdir/ || exit -1
--- 6,10 ----
  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
  echo "running faubackup"
  $FAUBACKUP_BIN testdir/old testdir/ || exit -1



-------------------------------------------------------
This SF.Net email is sponsored by Yahoo.
Introducing Yahoo! Search Developer Network - Create apps using Yahoo!
Search APIs Find out how you can build Yahoo! directly into your own
Applications - visit http://developer.yahoo.net/?fr=offad-ysdn-ostg-q22005