Make corrupt-repo-ref.js executable
authorSimon McVittie <smcv@debian.org>
Thu, 19 Jan 2017 11:34:57 +0000 (11:34 +0000)
committerSimon McVittie <smcv@debian.org>
Thu, 19 Jan 2017 13:23:32 +0000 (13:23 +0000)
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.

Forwarded: https://github.com/ostreedev/ostree/pull/652

Gbp-Pq: Name Make-corrupt-repo-ref.js-executable.patch

Makefile-tests.am
tests/corrupt-repo-ref.js [changed mode: 0644->0755]

index 02668ed377075332bbe5f672c149cdaa720032f1..202e108ab7f650e31b8acfd214f8b0b0fcc5232f 100644 (file)
@@ -119,15 +119,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.
old mode 100644 (file)
new mode 100755 (executable)