From 32a15a2441c4bfc83b2934f617d64d196492bdde Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?M=C3=A5ns=20Rullg=C3=A5rd?= Date: Tue, 17 Aug 2010 20:36:22 +0000 Subject: [PATCH] fate: store last version in per-slot file This allows the same workdir to be used by multiple slots. Originally committed as revision 24819 to svn://svn.ffmpeg.org/ffmpeg/trunk --- tests/fate.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/fate.sh b/tests/fate.sh index 7e5deee90b..e20606b666 100755 --- a/tests/fate.sh +++ b/tests/fate.sh @@ -101,8 +101,8 @@ test -d "$src" && update || checkout || die "Error fetching source" cd ${workdir} version=$(${src}/version.sh ${src}) -test "$version" = "$(cat version 2>/dev/null)" && exit 0 -echo ${version} >version +test "$version" = "$(cat version-$slot 2>/dev/null)" && exit 0 +echo ${version} >version-$slot rm -rf "${build}" mkdir -p ${build}