summaryrefslogtreecommitdiffstats
path: root/tests/parse_control.sh
diff options
context:
space:
mode:
authorP. J. McDermott <pj@pehjota.net>2014-08-16 08:16:10 (EDT)
committer P. J. McDermott <pj@pehjota.net>2014-08-16 08:16:10 (EDT)
commita701d4e877115c296c3bd9311b63e1c03d4a29d2 (patch)
tree29cc52cb0da1d6dd6f8bbe01c9e98ca6c5366e9f /tests/parse_control.sh
parentddf7b5be1d2dae5c01c8ddf389e06da83a3a54d3 (diff)
tests/parse_control.sh: Use ${srcdir} in . command
This allows the test to run when the build directory is different from the source directory.
Diffstat (limited to 'tests/parse_control.sh')
-rwxr-xr-xtests/parse_control.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/parse_control.sh b/tests/parse_control.sh
index a53095d..e86e051 100755
--- a/tests/parse_control.sh
+++ b/tests/parse_control.sh
@@ -19,7 +19,7 @@
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
-. tests/common.sh
+. "${srcdir}/tests/common.sh"
use output
use control