From 2f533f3a68fec24372db5c29f814970c09514b67 Mon Sep 17 00:00:00 2001 From: Alexander Larsson Date: Wed, 10 May 2017 11:46:30 +0200 Subject: [PATCH] tests: run test-repo.sh with system repo too --- tests/Makefile.am.inc | 1 + tests/test-repo-system.sh | 22 ++++++++++++++++++++++ 2 files changed, 23 insertions(+) create mode 100755 tests/test-repo-system.sh diff --git a/tests/Makefile.am.inc b/tests/Makefile.am.inc index daeaad5f..407f51f4 100644 --- a/tests/Makefile.am.inc +++ b/tests/Makefile.am.inc @@ -120,6 +120,7 @@ dist_test_scripts = \ tests/test-run-deltas.sh \ tests/test-run-system-deltas.sh \ tests/test-repo.sh \ + tests/test-repo-system.sh \ tests/test-extensions.sh \ tests/test-bundle.sh \ tests/test-bundle-system.sh \ diff --git a/tests/test-repo-system.sh b/tests/test-repo-system.sh new file mode 100755 index 00000000..a8410b0a --- /dev/null +++ b/tests/test-repo-system.sh @@ -0,0 +1,22 @@ +#!/bin/bash +# +# Copyright (C) 2011 Colin Walters +# +# This library is free software; you can redistribute it and/or +# modify it under the terms of the GNU Lesser General Public +# License as published by the Free Software Foundation; either +# version 2 of the License, or (at your option) any later version. +# +# This library is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +# Lesser General Public License for more details. +# +# You should have received a copy of the GNU Lesser General Public +# License along with this library; if not, write to the +# Free Software Foundation, Inc., 59 Temple Place - Suite 330, +# Boston, MA 02111-1307, USA. + +export USE_SYSTEMDIR=yes + +. $(dirname $0)/test-repo.sh