Add a missing #!/bin/sh to one test

This commit is contained in:
Simon McVittie 2016-03-19 17:56:15 +00:00
parent fb4568be2e
commit 1137fffe6b
3 changed files with 22 additions and 0 deletions

1
debian/changelog vendored
View File

@ -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 <smcv@debian.org> Wed, 27 Jan 2016 13:04:34 +0100

View File

@ -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

View File

@ -0,0 +1,20 @@
From: Simon McVittie <smcv@debian.org>
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 <walters@verbum.org>
#
# This library is free software; you can redistribute it and/or