summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon McVittie <smcv@debian.org>2017-01-19 11:34:57 +0000
committerAtomic Bot <atomic-devel@projectatomic.io>2017-01-19 13:54:59 +0000
commit9d94fc40c80ab01b3f96d37dced970a07e8323af (patch)
tree3d0ce840c461290d8a2582c6f81dac8350607278
parent9a3f82caae03f4abdbdc80c491c0b55a27e6a06e (diff)
downloadostree-9d94fc40c80ab01b3f96d37dced970a07e8323af.tar.gz
Make corrupt-repo-ref.js executable
Debian's Lintian packaging consistency check complains that it isn't executable but has a #! line. In fact it's reasonable to run this script directly, so make it executable, and put it in a _scripts variable so it will be installed executable. Closes: #652 Approved by: cgwalters
-rw-r--r--Makefile-tests.am8
-rwxr-xr-x[-rw-r--r--]tests/corrupt-repo-ref.js0
2 files changed, 5 insertions, 3 deletions
diff --git a/Makefile-tests.am b/Makefile-tests.am
index f37c59da..957b15a8 100644
--- a/Makefile-tests.am
+++ b/Makefile-tests.am
@@ -120,15 +120,17 @@ dist_installed_test_data = tests/archive-test.sh \
tests/pull-test.sh \
tests/admin-test.sh \
tests/basic-test.sh \
- tests/corrupt-repo-ref.js \
tests/pre-endian-deltas-repo-big.tar.xz \
tests/pre-endian-deltas-repo-little.tar.xz \
$(NULL)
EXTRA_DIST += tests/libtest.sh
-dist_test_extra_scripts = tests/bootloader-entries-crosscheck.py \
- tests/ostree-grub-generator
+dist_test_extra_scripts = \
+ tests/bootloader-entries-crosscheck.py \
+ tests/corrupt-repo-ref.js \
+ tests/ostree-grub-generator \
+ $(NULL)
# We can't use nobase_ as we need to strip off the tests/, can't
# use plain installed_ as we do need the gpghome/ prefix.
diff --git a/tests/corrupt-repo-ref.js b/tests/corrupt-repo-ref.js
index c5f28062..c5f28062 100644..100755
--- a/tests/corrupt-repo-ref.js
+++ b/tests/corrupt-repo-ref.js