about summary refs log tree commit diff
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rwxr-xr-xtest/build/subversion-build.sh14
-rw-r--r--test/fixdescriptors/subversion-0.21.0.fix8
-rw-r--r--test/fixdescriptors/system.fix1
3 files changed, 16 insertions, 7 deletions
diff --git a/test/build/subversion-build.sh b/test/build/subversion-build.sh
index 300c94a2fa34..cc1eba214e4f 100755
--- a/test/build/subversion-build.sh
+++ b/test/build/subversion-build.sh
@@ -5,10 +5,10 @@ export PATH=/bin:/usr/bin
 export LDFLAGS=-s
 
 top=`pwd`
-tar xvfz $src
-cd subversion-*
-./configure --prefix=$top --with-ssl
-make
-make install
-cd ..
-rm -rf subversion-*
+tar xvfz $src || exit 1
+cd subversion-* || exit 1
+./configure --prefix=$top --with-ssl || exit 1
+make || exit 1
+make install || exit 1
+cd $top || exit 1
+rm -rf subversion-* || exit 1
diff --git a/test/fixdescriptors/subversion-0.21.0.fix b/test/fixdescriptors/subversion-0.21.0.fix
new file mode 100644
index 000000000000..90d9d8d42b0d
--- /dev/null
+++ b/test/fixdescriptors/subversion-0.21.0.fix
@@ -0,0 +1,8 @@
+Descr(
+  [ Bind("pkgId", Str("subversion-0.21.0"))
+  , Bind("releaseId", Str("1"))
+
+  , Bind("src", File(Url("http://subversion.tigris.org/files/documents/15/3712/subversion-0.21.0.tar.gz")))
+  , Bind("build", File(Local("../build/subversion-build.sh")))
+  ]
+)
diff --git a/test/fixdescriptors/system.fix b/test/fixdescriptors/system.fix
index e864cfac3b40..62c056007182 100644
--- a/test/fixdescriptors/system.fix
+++ b/test/fixdescriptors/system.fix
@@ -5,6 +5,7 @@ Descr(
   , Bind("actATerm", Pkg(Fix("./aterm-2.0.fix")))
   , Bind("actPkgConfig", Pkg(Fix("./pkgconfig-0.15.0.fix")))
   , Bind("actGlib", Pkg(Fix("./glib-2.2.1.fix")))
+  , Bind("actSubversion", Pkg(Fix("./subversion-0.21.0.fix")))
 
   , Bind("build", File(Local("../../scripts/nix-populate")))
   ]