diff --git a/debian/patches/series b/debian/patches/series index 4688883c..f02db68a 100644 --- a/debian/patches/series +++ b/debian/patches/series @@ -4,3 +4,4 @@ Symlink-libreaddir-rand.so-into-tests-directory.patch tap-test-clean-up-temporary-test-directories-as-intended.patch In-tests-that-use-gpg-terminate-the-gpg-agent-after-testi.patch Load-g-i-bindings-from-builddir-during-build-time-testing.patch +tests-admin-test.sh-this-is-a-bash-script-not-a-POSIX-sh-.patch diff --git a/debian/patches/tests-admin-test.sh-this-is-a-bash-script-not-a-POSIX-sh-.patch b/debian/patches/tests-admin-test.sh-this-is-a-bash-script-not-a-POSIX-sh-.patch new file mode 100644 index 00000000..3115687a --- /dev/null +++ b/debian/patches/tests-admin-test.sh-this-is-a-bash-script-not-a-POSIX-sh-.patch @@ -0,0 +1,23 @@ +From: Simon McVittie +Date: Thu, 31 Mar 2016 09:48:18 +0100 +Subject: tests/admin-test.sh: this is a bash script, not a POSIX sh script + +The "function foo()" syntax is bash-specific, and Colin indicated in +PR #226 that he prefers to require bash rather than trying to support +every POSIX shell. + +Signed-off-by: Simon McVittie +--- + tests/admin-test.sh | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/tests/admin-test.sh b/tests/admin-test.sh +index 3a04a69..43dcbb5 100755 +--- a/tests/admin-test.sh ++++ b/tests/admin-test.sh +@@ -1,4 +1,4 @@ +-#!/bin/sh ++#!/bin/bash + # Copyright (C) 2011,2014 Colin Walters + # + # This library is free software; you can redistribute it and/or