faubackup2/tests test_full_copy.sh,1.1.1.1,1.2 test_full_link.sh,1.1.1.1,1.2 test_incremental_backup.sh,1.1.1.1,1.2 test_time_simple.sh,1.1.1.1,1.2
Martin Waitz <[email protected]> Thu, 02 Jun 2005 11:43:40 +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-serv8998/tests Modified Files: test_full_copy.sh test_full_link.sh test_incremental_backup.sh test_time_simple.sh Log Message: use correct faubackup for tests Index: test_time_simple.sh =================================================================== RCS file: /cvsroot/faubackup/faubackup2/tests/test_time_simple.sh,v retrieving revision 1.1.1.1 retrieving revision 1.2 diff -C2 -d -r1.1.1.1 -r1.2 *** test_time_simple.sh 2 Jun 2005 09:31:13 -0000 1.1.1.1 --- test_time_simple.sh 2 Jun 2005 11:43:38 -0000 1.2 *************** *** 25,48 **** echo "* : * : * : * : 13 : * \"*/1k_file3?\" 0:0:0:1" >> testdir/old/faubackuprc ! cp -p testdir/old/faubackuprc testdir/new/ ! FAUBACKUP_CONF=`pwd`/testdir/faubackup2.conf ! export FAUBACKUP_CONF echo "DurationAlias = \"never\" \"0:0:0:0\"" > `pwd`/testdir/faubackup2.conf - FAUBACKUP_TIME=20040511101010 - export FAUBACKUP_TIME echo "running faubackup with old/" ! ../src/test -vv testdir/old testdir/ 2>out_old.txt || exit -1 ! FAUBACKUP_TIME=20050709123040 ! export FAUBACKUP_TIME echo "running faubackup with new/" ! ../src/test -vv testdir/new testdir/ 2>out_new.txt|| exit -1 cd testdir/2004-05-11@10:10:10 --- 25,46 ---- echo "* : * : * : * : 13 : * \"*/1k_file3?\" 0:0:0:1" >> testdir/old/faubackuprc ! export FAUBACKUP_BIN=../src/faubackup ! export FAUBACKUP_CONF=`pwd`/testdir/faubackup2.conf ! export FAUBACKUP_TIME=20040511101010 + cp -p testdir/old/faubackuprc testdir/new/ echo "DurationAlias = \"never\" \"0:0:0:0\"" > `pwd`/testdir/faubackup2.conf echo "running faubackup with old/" ! $FAUBACKUP_BIN -vv testdir/old testdir/ 2>out_old.txt || exit -1 ! export FAUBACKUP_TIME=20050709123040 echo "running faubackup with new/" ! $FAUBACKUP_BIN -vv testdir/new testdir/ 2>out_new.txt|| exit -1 cd testdir/2004-05-11@10:10:10 Index: test_full_link.sh =================================================================== RCS file: /cvsroot/faubackup/faubackup2/tests/test_full_link.sh,v retrieving revision 1.1.1.1 retrieving revision 1.2 diff -C2 -d -r1.1.1.1 -r1.2 *** test_full_link.sh 2 Jun 2005 09:31:13 -0000 1.1.1.1 --- test_full_link.sh 2 Jun 2005 11:43:38 -0000 1.2 *************** *** 1,8 **** #!/bin/bash ! FAUBACKUP_TIME=20041111101010 ! export FAUBACKUP_TIME ! FAUBACKUP_CONF=`pwd`/testdir/faubackup.conf ! export FAUBACKUP_CONF test -d testdir/new || echo "Creating testfiles" test -d testdir/new || ./create_test_files.sh > /dev/null --- 1,7 ---- #!/bin/bash ! 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 || ./create_test_files.sh > /dev/null *************** *** 13,17 **** cd .. echo "running faubackup" ! ../src/test 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 --- 12,16 ---- 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 Index: test_full_copy.sh =================================================================== RCS file: /cvsroot/faubackup/faubackup2/tests/test_full_copy.sh,v retrieving revision 1.1.1.1 retrieving revision 1.2 diff -C2 -d -r1.1.1.1 -r1.2 *** test_full_copy.sh 2 Jun 2005 09:31:13 -0000 1.1.1.1 --- test_full_copy.sh 2 Jun 2005 11:43:38 -0000 1.2 *************** *** 1,12 **** #!/bin/bash ! FAUBACKUP_TIME=20041111101010 ! export FAUBACKUP_TIME ! FAUBACKUP_CONF=`pwd`/testdir/faubackup.conf ! export FAUBACKUP_CONF test -d testdir/new || echo "Creating testfiles" test -d testdir/new || ./create_test_files.sh > /dev/null echo "running faubackup" ! ../src/test testdir/old testdir/ || exit -1 echo "diff..." diff -qr testdir/2004-11-11@10:10:10 testdir/old/ || exit -1 --- 1,11 ---- #!/bin/bash ! 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 || ./create_test_files.sh > /dev/null echo "running faubackup" ! $FAUBACKUP_BIN testdir/old testdir/ || exit -1 echo "diff..." diff -qr testdir/2004-11-11@10:10:10 testdir/old/ || exit -1 Index: test_incremental_backup.sh =================================================================== RCS file: /cvsroot/faubackup/faubackup2/tests/test_incremental_backup.sh,v retrieving revision 1.1.1.1 retrieving revision 1.2 diff -C2 -d -r1.1.1.1 -r1.2 *** test_incremental_backup.sh 2 Jun 2005 09:31:13 -0000 1.1.1.1 --- test_incremental_backup.sh 2 Jun 2005 11:43:38 -0000 1.2 *************** *** 1,12 **** #!/bin/bash ! FAUBACKUP_TIME=20041111101010 ! export FAUBACKUP_TIME ! FAUBACKUP_CONF=`pwd`/testdir/faubackup.conf ! export FAUBACKUP_CONF test -d testdir/new || echo "Creating testfiles" test -d testdir/new || ./create_test_files.sh > /dev/null echo "running faubackup" ! ../src/test testdir/old testdir/ || exit -1 echo "diff..." --- 1,11 ---- #!/bin/bash ! 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 || ./create_test_files.sh > /dev/null echo "running faubackup" ! $FAUBACKUP_BIN testdir/old testdir/ || exit -1 echo "diff..." *************** *** 16,20 **** FAUBACKUP_TIME=20041112101010 export FAUBACKUP_TIME ! ../src/test testdir/new testdir/ || exit -1 cd testdir/new find -not -newer ../old/1M_file -type f | sort > ../old.txt --- 15,19 ---- FAUBACKUP_TIME=20041112101010 export FAUBACKUP_TIME ! $FAUBACKUP_BIN testdir/new testdir/ || exit -1 cd testdir/new find -not -newer ../old/1M_file -type f | sort > ../old.txt ------------------------------------------------------- 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