From 1137fffe6b567fc21a16db216e0f1a16842a75bf Mon Sep 17 00:00:00 2001 From: Simon McVittie Date: Sat, 19 Mar 2016 17:56:15 +0000 Subject: [PATCH] Add a missing #!/bin/sh to one test --- debian/changelog | 1 + debian/patches/series | 1 + .../tests-admin-test.sh-add-bin-sh.patch | 20 +++++++++++++++++++ 3 files changed, 22 insertions(+) create mode 100644 debian/patches/tests-admin-test.sh-add-bin-sh.patch diff --git a/debian/changelog b/debian/changelog index 7ce8f80c..89050950 100644 --- a/debian/changelog +++ b/debian/changelog @@ -36,6 +36,7 @@ ostree (2016.3-1) UNRELEASED; urgency=medium for example if it is on tmpfs * Stop dh_makeshlibs thinking that the LD_PRELOAD module libreaddir-rand.so (part of the tests) is meant to be a shared library + * Add a missing #!/bin/sh to one test -- Simon McVittie Wed, 27 Jan 2016 13:04:34 +0100 diff --git a/debian/patches/series b/debian/patches/series index fc4d01cb..9847c6f3 100644 --- a/debian/patches/series +++ b/debian/patches/series @@ -1,2 +1,3 @@ test-libarchive-fix-underlinking.patch Skip-test_libarchive_ignore_device_file-if-we-cannot-writ.patch +tests-admin-test.sh-add-bin-sh.patch diff --git a/debian/patches/tests-admin-test.sh-add-bin-sh.patch b/debian/patches/tests-admin-test.sh-add-bin-sh.patch new file mode 100644 index 00000000..d8f3b99a --- /dev/null +++ b/debian/patches/tests-admin-test.sh-add-bin-sh.patch @@ -0,0 +1,20 @@ +From: Simon McVittie +Date: Sat, 19 Mar 2016 17:54:38 +0000 +Subject: tests/admin-test.sh: add #!/bin/sh + +This is executable and appears to be intended to be executed directly, +so it should have a #! line. +--- + 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 c4644d3..531cf99 100755 +--- a/tests/admin-test.sh ++++ b/tests/admin-test.sh +@@ -1,4 +1,4 @@ +-# ++#!/bin/sh + # Copyright (C) 2011,2014 Colin Walters + # + # This library is free software; you can redistribute it and/or