summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon McVittie <smcv@debian.org>2017-01-19 11:23:30 +0000
committerAtomic Bot <atomic-devel@projectatomic.io>2017-01-19 13:54:59 +0000
commit9a3f82caae03f4abdbdc80c491c0b55a27e6a06e (patch)
treee7cff2ba7765ba28d204af9b967d735e71f7836d
parent01fb30b839ad27f638ca65b0a8d3cdd2b2002e66 (diff)
downloadostree-9a3f82caae03f4abdbdc80c491c0b55a27e6a06e.tar.gz
Sourced test snippets: remove shebang and make non-executable
They are installed non-executable, which makes Debian's Lintian packaging consistency check complain that #! is only useful in executable scripts. But in fact they are not useful to execute directly (they rely on setup being done in the script that sources them), so just chmod them -x. Closes: #652 Approved by: cgwalters
-rw-r--r--[-rwxr-xr-x]tests/admin-test.sh3
-rw-r--r--[-rwxr-xr-x]tests/archive-test.sh4
-rw-r--r--[-rwxr-xr-x]tests/basic-test.sh4
-rw-r--r--[-rwxr-xr-x]tests/pull-test.sh4
4 files changed, 8 insertions, 7 deletions
diff --git a/tests/admin-test.sh b/tests/admin-test.sh
index 76fc8b85..cc06fe6f 100755..100644
--- a/tests/admin-test.sh
+++ b/tests/admin-test.sh
@@ -1,4 +1,5 @@
-#!/bin/bash
+# This file is to be sourced, not executed
+
# Copyright (C) 2011,2014 Colin Walters <walters@verbum.org>
#
# This library is free software; you can redistribute it and/or
diff --git a/tests/archive-test.sh b/tests/archive-test.sh
index e6f67cf5..9c5f8a47 100755..100644
--- a/tests/archive-test.sh
+++ b/tests/archive-test.sh
@@ -1,5 +1,5 @@
-#!/bin/bash
-#
+# This file is to be sourced, not executed
+
# Copyright (C) 2011 Colin Walters <walters@verbum.org>
#
# This library is free software; you can redistribute it and/or
diff --git a/tests/basic-test.sh b/tests/basic-test.sh
index 0547c89d..5cad8ab3 100755..100644
--- a/tests/basic-test.sh
+++ b/tests/basic-test.sh
@@ -1,5 +1,5 @@
-#!/bin/bash
-#
+# This file is to be sourced, not executed
+
# Copyright (C) 2011 Colin Walters <walters@verbum.org>
#
# This library is free software; you can redistribute it and/or
diff --git a/tests/pull-test.sh b/tests/pull-test.sh
index 56258b6c..56b24a0c 100755..100644
--- a/tests/pull-test.sh
+++ b/tests/pull-test.sh
@@ -1,5 +1,5 @@
-#!/bin/bash
-#
+# This file is to be sourced, not executed
+
# Copyright (C) 2011 Colin Walters <walters@verbum.org>
#
# This library is free software; you can redistribute it and/or