Репозиторий Sisyphus
Последнее обновление: 1 октября 2023 | Пакетов: 18631 | Посещений: 37385250
en ru br
Репозитории ALT
S:1.11.23-alt9
5.1: 1.11.23-alt3.M50P.1
4.1: 1.11.22-alt3
4.0: 1.11.22-alt2
+updates:1.11.22-alt2
3.0: 1.11.20-alt1
www.altlinux.org/Changes

Группа :: Разработка/Прочее
Пакет: cvs

 Главная   Изменения   Спек   Патчи   Sources   Загрузить   Gear   Bugs and FR  Repocop 

Патч: cvs-1.11.20-alt-testsuit-fixes.patch
Скачать


diff -upk.orig cvs-1.11.20.orig/src/sanity.sh cvs-1.11.20/src/sanity.sh
--- cvs-1.11.20.orig/src/sanity.sh	2005-09-29 14:35:34 +0000
+++ cvs-1.11.20/src/sanity.sh	2005-09-29 14:36:01 +0000
@@ -280,20 +280,25 @@ fi
 #
 CVS="${testcvs} -Q"
 
-LOGFILE=`pwd`/check.log
+if $remote; then
+	CHECK_LOG=check-r.log
+else
+	CHECK_LOG=check.log
+fi
+LOGFILE=`pwd`/$CHECK_LOG
 
 # Save the previous log in case the person running the tests decides
 # they want to look at it.  The extension ".plog" is chosen for consistency
 # with dejagnu.
-if test -f check.log; then
-	mv check.log check.plog
+if test -f $CHECK_LOG; then
+	mv $CHECK_LOG $CHECK_LOG.orig
 fi
 
-# Create the log file so check.log can be tailed almost immediately after
+# Create the log file so $CHECK_LOG can be tailed almost immediately after
 # this script is started.  Otherwise it can take up to a minute or two before
 # the log file gets created when $remotehost is specified on some systems,
 # which makes for a lot of failed `tail -f' attempts.
-touch check.log
+touch $CHECK_LOG
 
 # Workaround any X11Forwarding by ssh. Otherwise this text:
 #   Warning: No xauth data; using fake authentication data for X11 forwarding.
@@ -787,7 +792,7 @@ warn ()
 fail ()
 {
   echo "FAIL: $1" | tee -a ${LOGFILE}
-  echo "*** Please see the \`TESTS' and \`check.log' files for more information." >&2
+  echo "*** Please see the \`TESTS' and \`$CHECK_LOG' files for more information." >&2
   # This way the tester can go and see what remnants were left
   exit 1
 }
@@ -11399,12 +11399,15 @@ EOF
 	    dotest_fail conflicts4-10r "$testcvs -q up" "C file1"
 	    dotest conflicts4-11r "cat $TESTDIR/conflicts4/client.out" \
 "$DOTSTAR
+$DOTSTAR
+$DOTSTAR
+$DOTSTAR
 Argument --
 Directory .
 $CVSROOT_DIRNAME/first-dir
 Entry /file1/1.2/+=//
 Modified file1
-u=rw,g=rw,o=r
+u=rw,g=r,o=r
 59
 baseline
 ""<<<<<<< file1
 
дизайн и разработка: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
текущий майнтейнер: Michael Shigorin