diff options
author | Måns Rullgård <mans@mansr.com> | 2010-08-18 00:36:22 +0400 |
---|---|---|
committer | Måns Rullgård <mans@mansr.com> | 2010-08-18 00:36:22 +0400 |
commit | 32a15a2441c4bfc83b2934f617d64d196492bdde (patch) | |
tree | ba7baca4157e4154af892337bcade6e7a2036cc3 /tests/fate.sh | |
parent | dd872bf49f0ef1226c4a1e99e908a5213a59b32f (diff) |
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
Diffstat (limited to 'tests/fate.sh')
-rwxr-xr-x | tests/fate.sh | 4 |
1 files 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} |