summaryrefslogtreecommitdiffstats
path: root/t/recipes/checks/files/source-missing
diff options
context:
space:
mode:
Diffstat (limited to 't/recipes/checks/files/source-missing')
-rw-r--r--t/recipes/checks/files/source-missing/cruft-general-test-suite/build-spec/fill-values3
-rw-r--r--t/recipes/checks/files/source-missing/cruft-general-test-suite/build-spec/orig/hello.c8
-rwxr-xr-xt/recipes/checks/files/source-missing/cruft-general-test-suite/build-spec/pre-upstream35
-rw-r--r--t/recipes/checks/files/source-missing/cruft-general-test-suite/eval/desc2
-rw-r--r--t/recipes/checks/files/source-missing/cruft-general-test-suite/eval/hints1
-rw-r--r--t/recipes/checks/files/source-missing/cruft-gfdl-invariants/build-spec/fill-values3
-rw-r--r--t/recipes/checks/files/source-missing/cruft-gfdl-invariants/build-spec/orig/src/autoconf.texi12
-rw-r--r--t/recipes/checks/files/source-missing/cruft-gfdl-invariants/build-spec/orig/src/dvipdfmx.tex6
-rw-r--r--t/recipes/checks/files/source-missing/cruft-gfdl-invariants/build-spec/orig/src/empty.texi5
-rw-r--r--t/recipes/checks/files/source-missing/cruft-gfdl-invariants/build-spec/orig/src/emptybis.texi7
-rw-r--r--t/recipes/checks/files/source-missing/cruft-gfdl-invariants/build-spec/orig/src/false-positive.rtf125
-rw-r--r--t/recipes/checks/files/source-missing/cruft-gfdl-invariants/build-spec/orig/src/frontback.html56
-rw-r--r--t/recipes/checks/files/source-missing/cruft-gfdl-invariants/build-spec/orig/src/frontback.texi7
-rw-r--r--t/recipes/checks/files/source-missing/cruft-gfdl-invariants/build-spec/orig/src/invariant.txt7
-rw-r--r--t/recipes/checks/files/source-missing/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/appendix.txt25
-rw-r--r--t/recipes/checks/files/source-missing/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/badpunctuation.txt8
-rw-r--r--t/recipes/checks/files/source-missing/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/cflow.texi12
-rw-r--r--t/recipes/checks/files/source-missing/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/citetitle.po16
-rw-r--r--t/recipes/checks/files/source-missing/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/clisp.txt9
-rw-r--r--t/recipes/checks/files/source-missing/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/clisp.xml6
-rw-r--r--t/recipes/checks/files/source-missing/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/comments.po9
-rw-r--r--t/recipes/checks/files/source-missing/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/diveintopythonok.html12
-rw-r--r--t/recipes/checks/files/source-missing/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/findsutilsokinlinenewline.c15
-rw-r--r--t/recipes/checks/files/source-missing/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/findutilsok.c15
-rw-r--r--t/recipes/checks/files/source-missing/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/fonts.html9
-rw-r--r--t/recipes/checks/files/source-missing/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/fontsMX.html1
-rw-r--r--t/recipes/checks/files/source-missing/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/gfdllicenseexample.html13
-rw-r--r--t/recipes/checks/files/source-missing/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/gfdllicenseexample.texi13
-rw-r--r--t/recipes/checks/files/source-missing/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/gfdllicenseexamplesbr.html13
-rw-r--r--t/recipes/checks/files/source-missing/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/gfdltexcomments.tex7
-rw-r--r--t/recipes/checks/files/source-missing/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/gnashfalsepositive.html15
-rw-r--r--t/recipes/checks/files/source-missing/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/gnashfalsepositive.info14
-rw-r--r--t/recipes/checks/files/source-missing/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/gnashfalsepositive.xml15
-rw-r--r--t/recipes/checks/files/source-missing/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/gtk-doc.po42
-rw-r--r--t/recipes/checks/files/source-missing/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/hyphen-used-as-minus-sign.diff102
-rw-r--r--t/recipes/checks/files/source-missing/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/kdoctools/customization/ru/entities/fdl-notice.docbook6
-rw-r--r--t/recipes/checks/files/source-missing/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/krusader20
-rw-r--r--t/recipes/checks/files/source-missing/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/latexhref.tex7
-rw-r--r--t/recipes/checks/files/source-missing/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/latexhyperlink.tex7
-rw-r--r--t/recipes/checks/files/source-missing/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/latexhyphenslash.tex2
-rw-r--r--t/recipes/checks/files/source-missing/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/latexurl.tex7
-rw-r--r--t/recipes/checks/files/source-missing/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/libnss-pgsql.xml7
-rw-r--r--t/recipes/checks/files/source-missing/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/lilypond.texi6
-rw-r--r--t/recipes/checks/files/source-missing/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/lilypond2.txt19
-rw-r--r--t/recipes/checks/files/source-missing/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/mailutils.texi6
-rw-r--r--t/recipes/checks/files/source-missing/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/maintain.html28
-rw-r--r--t/recipes/checks/files/source-missing/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/maintain.texi13
-rw-r--r--t/recipes/checks/files/source-missing/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/make-stds.texi7
-rw-r--r--t/recipes/checks/files/source-missing/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/normal.c13
-rw-r--r--t/recipes/checks/files/source-missing/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/normal.texi6
-rw-r--r--t/recipes/checks/files/source-missing/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/normalbkchem.texi6
-rw-r--r--t/recipes/checks/files/source-missing/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/normalhtmlcomment.html9
-rw-r--r--t/recipes/checks/files/source-missing/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/normalmancomment.txt7
-rw-r--r--t/recipes/checks/files/source-missing/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/normalwithbreakathyphen.texi8
-rw-r--r--t/recipes/checks/files/source-missing/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/oidentd.89
-rw-r--r--t/recipes/checks/files/source-missing/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/opentoken.txt5
-rw-r--r--t/recipes/checks/files/source-missing/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/parsewiki.txt4
-rw-r--r--t/recipes/checks/files/source-missing/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/partedvariant.txt8
-rw-r--r--t/recipes/checks/files/source-missing/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/partialtranslation.po15
-rw-r--r--t/recipes/checks/files/source-missing/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/patch-R.diff7
-rw-r--r--t/recipes/checks/files/source-missing/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/patch-c0.diff18
-rw-r--r--t/recipes/checks/files/source-missing/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/patch-u.diff9
-rw-r--r--t/recipes/checks/files/source-missing/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/patch-uR.diff9
-rw-r--r--t/recipes/checks/files/source-missing/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/patch.diff7
-rw-r--r--t/recipes/checks/files/source-missing/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/php-elisp.texi19
-rw-r--r--t/recipes/checks/files/source-missing/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/pipeindent.txt7
-rw-r--r--t/recipes/checks/files/source-missing/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/quotes.xml8
-rw-r--r--t/recipes/checks/files/source-missing/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/quoteswithasdefined.xml9
-rw-r--r--t/recipes/checks/files/source-missing/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/sdlbasic.html11
-rw-r--r--t/recipes/checks/files/source-missing/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/smbc.texi9
-rw-r--r--t/recipes/checks/files/source-missing/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/soundjuicer.po8
-rw-r--r--t/recipes/checks/files/source-missing/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/texignu.texi6
-rw-r--r--t/recipes/checks/files/source-missing/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/texlive.tex8
-rw-r--r--t/recipes/checks/files/source-missing/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/texlivefont.tex6
-rw-r--r--t/recipes/checks/files/source-missing/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/tla.txt21
-rw-r--r--t/recipes/checks/files/source-missing/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/ulink.xml7
-rw-r--r--t/recipes/checks/files/source-missing/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/variantdictfold.txt7
-rw-r--r--t/recipes/checks/files/source-missing/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/zeroisnotplural.texi6
-rw-r--r--t/recipes/checks/files/source-missing/cruft-gfdl-invariants/build-spec/orig/src/oldmanpagesgfdlproblem.112
-rw-r--r--t/recipes/checks/files/source-missing/cruft-gfdl-invariants/eval/desc2
-rw-r--r--t/recipes/checks/files/source-missing/cruft-gfdl-invariants/eval/hints1
-rw-r--r--t/recipes/checks/files/source-missing/cruft-minified-js/build-spec/debian/install1
-rw-r--r--t/recipes/checks/files/source-missing/cruft-minified-js/build-spec/debian/missing-sources/json.js529
-rw-r--r--t/recipes/checks/files/source-missing/cruft-minified-js/build-spec/debian/missing-sources/subdir.js/source.js0
-rw-r--r--t/recipes/checks/files/source-missing/cruft-minified-js/build-spec/fill-values4
-rw-r--r--t/recipes/checks/files/source-missing/cruft-minified-js/build-spec/orig/deployJava/README1
-rw-r--r--t/recipes/checks/files/source-missing/cruft-minified-js/build-spec/orig/deployJava/deployJava.browser.js19
-rw-r--r--t/recipes/checks/files/source-missing/cruft-minified-js/build-spec/orig/deployJava/deployJava.js3
-rw-r--r--t/recipes/checks/files/source-missing/cruft-minified-js/build-spec/orig/oldfalsepositives/-debug.js/src/test-debug.js1
-rw-r--r--t/recipes/checks/files/source-missing/cruft-minified-js/build-spec/orig/oldfalsepositives/-debug.js/src/test-min.js4
-rw-r--r--t/recipes/checks/files/source-missing/cruft-minified-js/build-spec/orig/oldfalsepositives/-nc.js/test-nc.js1
-rw-r--r--t/recipes/checks/files/source-missing/cruft-minified-js/build-spec/orig/oldfalsepositives/-nc.js/test-yc.js4
-rw-r--r--t/recipes/checks/files/source-missing/cruft-minified-js/build-spec/orig/oldfalsepositives/admin.js1
-rw-r--r--t/recipes/checks/files/source-missing/cruft-minified-js/build-spec/orig/oldfalsepositives/css_browser_selector.js8
-rw-r--r--t/recipes/checks/files/source-missing/cruft-minified-js/build-spec/orig/oldfalsepositives/debug.js/testdebug.debug.js1
-rw-r--r--t/recipes/checks/files/source-missing/cruft-minified-js/build-spec/orig/oldfalsepositives/debug.js/testdebug.js4
-rw-r--r--t/recipes/checks/files/source-missing/cruft-minified-js/build-spec/orig/oldfalsepositives/deployJava/deployJava.js3
-rw-r--r--t/recipes/checks/files/source-missing/cruft-minified-js/build-spec/orig/oldfalsepositives/deployJava/deployJava.txt1
-rw-r--r--t/recipes/checks/files/source-missing/cruft-minified-js/build-spec/orig/oldfalsepositives/endoflinecomments.js104
-rw-r--r--t/recipes/checks/files/source-missing/cruft-minified-js/build-spec/orig/oldfalsepositives/jslint.js2
-rw-r--r--t/recipes/checks/files/source-missing/cruft-minified-js/build-spec/orig/oldfalsepositives/longlicensetext.js30
-rw-r--r--t/recipes/checks/files/source-missing/cruft-minified-js/build-spec/orig/oldfalsepositives/nested-dir/README1
-rw-r--r--t/recipes/checks/files/source-missing/cruft-minified-js/build-spec/orig/oldfalsepositives/nested-dir/dist/fake.min.js2
-rw-r--r--t/recipes/checks/files/source-missing/cruft-minified-js/build-spec/orig/oldfalsepositives/nested-dir/src/fake.js2
-rw-r--r--t/recipes/checks/files/source-missing/cruft-minified-js/build-spec/orig/oldfalsepositives/pandoc/search_index.js4
-rw-r--r--t/recipes/checks/files/source-missing/cruft-minified-js/build-spec/orig/oldfalsepositives/scriptinhtml/falsecopyright.html7
-rw-r--r--t/recipes/checks/files/source-missing/cruft-minified-js/build-spec/orig/oldfalsepositives/singlecolon.js3
-rw-r--r--t/recipes/checks/files/source-missing/cruft-minified-js/build-spec/orig/oldfalsepositives/sqlite.js1
-rw-r--r--t/recipes/checks/files/source-missing/cruft-minified-js/build-spec/orig/oldfalsepositives/src.js/test.min.js3
-rw-r--r--t/recipes/checks/files/source-missing/cruft-minified-js/build-spec/orig/oldfalsepositives/src.js/test.src.js1
-rw-r--r--t/recipes/checks/files/source-missing/cruft-minified-js/build-spec/orig/oldfalsepositives/suffix/test-compiled.js2
-rw-r--r--t/recipes/checks/files/source-missing/cruft-minified-js/build-spec/orig/oldfalsepositives/suffix/test-compressed.js2
-rw-r--r--t/recipes/checks/files/source-missing/cruft-minified-js/build-spec/orig/oldfalsepositives/suffix/test-lite.js2
-rw-r--r--t/recipes/checks/files/source-missing/cruft-minified-js/build-spec/orig/oldfalsepositives/suffix/test-min.js2
-rw-r--r--t/recipes/checks/files/source-missing/cruft-minified-js/build-spec/orig/oldfalsepositives/suffix/test-pack.js2
-rw-r--r--t/recipes/checks/files/source-missing/cruft-minified-js/build-spec/orig/oldfalsepositives/suffix/test-packed.js2
-rw-r--r--t/recipes/checks/files/source-missing/cruft-minified-js/build-spec/orig/oldfalsepositives/suffix/test-yc.js2
-rw-r--r--t/recipes/checks/files/source-missing/cruft-minified-js/build-spec/orig/oldfalsepositives/suffix/test.compressed.js2
-rw-r--r--t/recipes/checks/files/source-missing/cruft-minified-js/build-spec/orig/oldfalsepositives/suffix/test.js1
-rw-r--r--t/recipes/checks/files/source-missing/cruft-minified-js/build-spec/orig/oldfalsepositives/suffix/test.min.js2
-rw-r--r--t/recipes/checks/files/source-missing/cruft-minified-js/build-spec/orig/oldfalsepositives/suffix/test_min.js2
-rwxr-xr-xt/recipes/checks/files/source-missing/cruft-minified-js/build-spec/pre-build52
-rw-r--r--t/recipes/checks/files/source-missing/cruft-minified-js/eval/desc2
-rw-r--r--t/recipes/checks/files/source-missing/cruft-minified-js/eval/hints34
-rw-r--r--t/recipes/checks/files/source-missing/cruft-minified-js/eval/post-test4
-rw-r--r--t/recipes/checks/files/source-missing/cruft-source-is-missing-unrel/build-spec/debian/control.in15
-rw-r--r--t/recipes/checks/files/source-missing/cruft-source-is-missing-unrel/build-spec/fill-values5
-rw-r--r--t/recipes/checks/files/source-missing/cruft-source-is-missing-unrel/build-spec/orig/main.c8
-rwxr-xr-xt/recipes/checks/files/source-missing/cruft-source-is-missing-unrel/build-spec/pre-build11
-rwxr-xr-xt/recipes/checks/files/source-missing/cruft-source-is-missing-unrel/build-spec/pre-upstream11
-rw-r--r--t/recipes/checks/files/source-missing/cruft-source-is-missing-unrel/eval/desc4
-rw-r--r--t/recipes/checks/files/source-missing/cruft-source-is-missing-unrel/eval/hints3
-rw-r--r--t/recipes/checks/files/source-missing/cruft-upstream-binaries/build-spec/fill-values4
-rw-r--r--t/recipes/checks/files/source-missing/cruft-upstream-binaries/build-spec/orig/hello.c8
-rwxr-xr-xt/recipes/checks/files/source-missing/cruft-upstream-binaries/build-spec/pre-build5
-rwxr-xr-xt/recipes/checks/files/source-missing/cruft-upstream-binaries/build-spec/pre-upstream9
-rw-r--r--t/recipes/checks/files/source-missing/cruft-upstream-binaries/eval/desc2
-rw-r--r--t/recipes/checks/files/source-missing/cruft-upstream-binaries/eval/hints5
-rw-r--r--t/recipes/checks/files/source-missing/cruft-wasm/build-spec/fill-values4
-rw-r--r--t/recipes/checks/files/source-missing/cruft-wasm/build-spec/orig/README1
-rwxr-xr-xt/recipes/checks/files/source-missing/cruft-wasm/build-spec/pre-upstream11
-rw-r--r--t/recipes/checks/files/source-missing/cruft-wasm/eval/desc2
-rw-r--r--t/recipes/checks/files/source-missing/cruft-wasm/eval/hints1
-rw-r--r--t/recipes/checks/files/source-missing/min-js-with-sources/build-spec/debian/missing-sources/ugly/fullpath.js529
-rw-r--r--t/recipes/checks/files/source-missing/min-js-with-sources/build-spec/fill-values4
-rwxr-xr-xt/recipes/checks/files/source-missing/min-js-with-sources/build-spec/pre-build22
-rw-r--r--t/recipes/checks/files/source-missing/min-js-with-sources/eval/desc4
-rw-r--r--t/recipes/checks/files/source-missing/min-js-with-sources/eval/hints4
148 files changed, 2600 insertions, 0 deletions
diff --git a/t/recipes/checks/files/source-missing/cruft-general-test-suite/build-spec/fill-values b/t/recipes/checks/files/source-missing/cruft-general-test-suite/build-spec/fill-values
new file mode 100644
index 0000000..b153334
--- /dev/null
+++ b/t/recipes/checks/files/source-missing/cruft-general-test-suite/build-spec/fill-values
@@ -0,0 +1,3 @@
+Testname: cruft-general-test-suite
+Skeleton: upload-non-native
+Description: Check that cruft in test suites is okay
diff --git a/t/recipes/checks/files/source-missing/cruft-general-test-suite/build-spec/orig/hello.c b/t/recipes/checks/files/source-missing/cruft-general-test-suite/build-spec/orig/hello.c
new file mode 100644
index 0000000..1b47b80
--- /dev/null
+++ b/t/recipes/checks/files/source-missing/cruft-general-test-suite/build-spec/orig/hello.c
@@ -0,0 +1,8 @@
+#include <stdio.h>
+
+int
+main(void)
+{
+ printf("Hello world!\n");
+ return 0;
+}
diff --git a/t/recipes/checks/files/source-missing/cruft-general-test-suite/build-spec/pre-upstream b/t/recipes/checks/files/source-missing/cruft-general-test-suite/build-spec/pre-upstream
new file mode 100755
index 0000000..8665c92
--- /dev/null
+++ b/t/recipes/checks/files/source-missing/cruft-general-test-suite/build-spec/pre-upstream
@@ -0,0 +1,35 @@
+#!/bin/sh
+#
+# Create all the various junk that shouldn't exist upstream. We do much of it
+# here rather than in the template so that Lintian itself can be imported into
+# revision control systems.
+
+set -e
+dir="$1"
+
+mkdir -p "${dir}/t/CVS"
+echo 'source-contains-cvs-control-dir' > "${dir}/t/CVS/Entries"
+mkdir -p "${dir}/foo/t/.svn"
+echo 'source-contains-svn-control-dir' > "${dir}/foo/t/.svn/format"
+mkdir -p "${dir}/test/.bzr"
+echo 'source-contains-bzr-control-dir' > "${dir}/test/.bzr/foo"
+mkdir -p "${dir}/bar/test/{arch}"
+echo 'source-contains-arch-control-dir' > "${dir}/bar/test/{arch}/foo"
+mkdir -p "${dir}/tests/.git"
+echo 'source-contains-git-control-dir' > "${dir}/tests/.git/foo"
+mkdir -p "${dir}/baz/foo/tests/.hg"
+echo 'source-contains-hg-control-dir' > "${dir}/baz/foo/tests/.hg/foo"
+mkdir -p "${dir}/testset/.be"
+echo 'source-contains-bts-control-dir' > "${dir}/testset/.be/foo"
+
+echo 'source-contains-svn-commit-file' > "${dir}/t/svn-commit.tmp"
+echo 'source-contains-svk-commit-file' > "${dir}/t/svk-commit444.tmp"
+echo 'source-contains-arch-inventory-file' > "${dir}/t/.arch-inventory"
+echo 'source-contains-hg-tags-file' > "${dir}/t/.hgtags"
+echo 'source-contains-cvs-conflict-copy' > "${dir}/t/.#foo.1.1"
+echo 'source-contains-svn-conflict-file' > "${dir}/t/foo.r1352"
+
+echo 'configure-generated-file-in-source' > "${dir}/tests/config.cache"
+
+cd "$1"
+gcc -o t/hello hello.c
diff --git a/t/recipes/checks/files/source-missing/cruft-general-test-suite/eval/desc b/t/recipes/checks/files/source-missing/cruft-general-test-suite/eval/desc
new file mode 100644
index 0000000..17e7848
--- /dev/null
+++ b/t/recipes/checks/files/source-missing/cruft-general-test-suite/eval/desc
@@ -0,0 +1,2 @@
+Testname: cruft-general-test-suite
+Check: files/source-missing
diff --git a/t/recipes/checks/files/source-missing/cruft-general-test-suite/eval/hints b/t/recipes/checks/files/source-missing/cruft-general-test-suite/eval/hints
new file mode 100644
index 0000000..18394f3
--- /dev/null
+++ b/t/recipes/checks/files/source-missing/cruft-general-test-suite/eval/hints
@@ -0,0 +1 @@
+cruft-general-test-suite (source): source-contains-prebuilt-binary [t/hello]
diff --git a/t/recipes/checks/files/source-missing/cruft-gfdl-invariants/build-spec/fill-values b/t/recipes/checks/files/source-missing/cruft-gfdl-invariants/build-spec/fill-values
new file mode 100644
index 0000000..2c57a2a
--- /dev/null
+++ b/t/recipes/checks/files/source-missing/cruft-gfdl-invariants/build-spec/fill-values
@@ -0,0 +1,3 @@
+Skeleton: upload-native
+Testname: cruft-gfdl-invariants
+Description: Check for GFDL invariants sections
diff --git a/t/recipes/checks/files/source-missing/cruft-gfdl-invariants/build-spec/orig/src/autoconf.texi b/t/recipes/checks/files/source-missing/cruft-gfdl-invariants/build-spec/orig/src/autoconf.texi
new file mode 100644
index 0000000..ba8175d
--- /dev/null
+++ b/t/recipes/checks/files/source-missing/cruft-gfdl-invariants/build-spec/orig/src/autoconf.texi
@@ -0,0 +1,12 @@
+Permission is granted to copy, distribute and/or modify this document
+under the terms of the @acronym{GNU} Free Documentation License,
+Version 1.3 or any later version published by the Free Software
+Foundation; with no Invariant Sections, with the Front-Cover texts
+being ``A @acronym{GNU} Manual,'' and with the Back-Cover Texts as in
+(a) below. A copy of the license is included in the section entitled
+``@acronym{GNU} Free Documentation License.''
+
+(a) The FSF's Back-Cover Text is: ``You have the freedom to copy and
+modify this @acronym{GNU} manual. Buying copies from the @acronym{FSF}
+supports it in developing @acronym{GNU} and promoting software
+freedom.''
diff --git a/t/recipes/checks/files/source-missing/cruft-gfdl-invariants/build-spec/orig/src/dvipdfmx.tex b/t/recipes/checks/files/source-missing/cruft-gfdl-invariants/build-spec/orig/src/dvipdfmx.tex
new file mode 100644
index 0000000..a0a6634
--- /dev/null
+++ b/t/recipes/checks/files/source-missing/cruft-gfdl-invariants/build-spec/orig/src/dvipdfmx.tex
@@ -0,0 +1,6 @@
+\section*{GNU Free Documentation License}\label{SEC:FDL}
+\subsection*{GNU Free Documentation License}\label{SEC:FDL}
+ \subsubsection{GNU Free Documentation License}\label{SEC:FDL}
+
+This document is distributed under the term of the GNU Free Documentation
+License. See, the attached file for copying conditions.
diff --git a/t/recipes/checks/files/source-missing/cruft-gfdl-invariants/build-spec/orig/src/empty.texi b/t/recipes/checks/files/source-missing/cruft-gfdl-invariants/build-spec/orig/src/empty.texi
new file mode 100644
index 0000000..8e87b5f
--- /dev/null
+++ b/t/recipes/checks/files/source-missing/cruft-gfdl-invariants/build-spec/orig/src/empty.texi
@@ -0,0 +1,5 @@
+Permission is granted to copy, distribute and/or modify this
+document under the terms of the GNU Free Documentation License,
+version 1.3 or any later version published by the Free Software
+Foundation. A copy of the license is included in the
+section entitled "GNU Free Documentation License".
diff --git a/t/recipes/checks/files/source-missing/cruft-gfdl-invariants/build-spec/orig/src/emptybis.texi b/t/recipes/checks/files/source-missing/cruft-gfdl-invariants/build-spec/orig/src/emptybis.texi
new file mode 100644
index 0000000..7ad0640
--- /dev/null
+++ b/t/recipes/checks/files/source-missing/cruft-gfdl-invariants/build-spec/orig/src/emptybis.texi
@@ -0,0 +1,7 @@
+Permission is granted to copy, distribute and/or modify this
+document under the terms of the GNU Free Documentation License,
+version 1.3 or any later version published by the Free Software
+Foundation.
+
+A copy of the license is included in the
+section entitled "GNU Free Documentation License".
diff --git a/t/recipes/checks/files/source-missing/cruft-gfdl-invariants/build-spec/orig/src/false-positive.rtf b/t/recipes/checks/files/source-missing/cruft-gfdl-invariants/build-spec/orig/src/false-positive.rtf
new file mode 100644
index 0000000..19560b4
--- /dev/null
+++ b/t/recipes/checks/files/source-missing/cruft-gfdl-invariants/build-spec/orig/src/false-positive.rtf
@@ -0,0 +1,125 @@
+{\rtf1\ansi\ansicpg1252\cocoartf102{\fonttbl\f2\fnil Bitstream Charter;\f0\fnil Droid Sans Mono;\f1\fnil FreeSans;}
+{\colortbl;\red0\green0\blue200;\red0\green0\blue0;\red255\green0\blue0;}
+{{\NeXTGraphic iconoGimp3.tif \width1816 \height1309}\pard\tx560\tx1120\tx1680\tx2240\tx2800\tx3360\tx3920\tx4480\tx5040\tx5600\tx6160\tx6720\ql\f0\fs24 \'AC}\f1\fs48 \b\cf1 \'A1Welcome to FisicaLab!\cf0\fs24\b0\cf2 \par
+\par
+\fs20\i Copyright (C) 2009, 2010, 2012 German A. Arias.\par
+ Permission is granted to copy, distribute and/or modify this document\par
+ under the terms of the GNU Free Documentation License, Version 1.3\par
+ or any later version published by the Free Software Foundation;\par
+ with no Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts.\par
+ A copy of the license is included in the section entitled "GNU\par
+ Free Documentation License".\fs24\i0 \par
+\par
+\par
+FisicaLab is an educational application to solve physics problems. Its main objective is let the user to focus in physics concepts, leaving aside the mathematical details (FisicaLab take care of them). This allows the user to become familiar with the physical concepts without running the risk of getting lost in mathematical details. And so, when the user gain confidence in applying physical concepts, will be better prepared to solve the problems by hand (with pen and paper). FisicaLab is easy to use and very intuitive. However, in order to take advantage of all its features, we recommend you read first these help files.\par
+\par
+FisicaLab display to two windows, one named \b Modules and elements\b0 and other named \b Chalkboard\b0 . The first of these windows, contain all modules that can be used to solve problems. These modules are grouped by: kinematics, static, dynamics, ... (see image below). You can select one of these groups with the buttons at the top of the window, marked with (1) in the image. When you leave the mouse\rquote s cursor above one of these buttons, a label with the group name is displayed. The buttons marked with (2) let you select the system of units, SI or English. You can see the modules of the selected group inside the box marked with (3). The tabs marked with (4) let you select one of the available modules. The elements of the selected module are displayed inside the box marked with (5). This elements let you set the problems. Inside the box marked with (6) you can write the element\rquote s data (if any element is selected, this box will be empty).\f2 \par
+\par
+ \cf0\f0{{\NeXTGraphic FisicaLabPanel.jpg \width7680 \height10760}\'AC}\f2\cf2 \par
+\pard\ql\pard\tx0\tx560\tx1120\tx1680\tx2240\tx2800\tx3360\tx3920\tx4480\tx5040\tx5600\tx6160\ql \par
+\f1 The window named \b Chalkboard\b0 (see image below), have at the top two buttons, marked with (7). The button at the left let you solve the problem, and the other is to clean the chalkboard. The black box marked with (8) is the chalkboard, where you add the elements to set the problems. You need keep in mind, although you can\rquote t see, that the chalkboard is a grid formed with cells of 50x50 pixels. By default the chalkboard size is 26x18 cells. In \b Preferences\b0 panel you can change the size to a maximum of 100x100 cells (A greater size than the default could be useful for trusses problems). The text view marked with (9) is where FisicaLab show the answer and messages. The checkbox marked with (10) erase the content of the text view before show the next answer or message. If you want keep the previous content, unselect this checkbox. In this case you can add notes to identify the results of the different problems.\f2 \par
+\par
+\pard\ql\pard\tx560\tx1120\tx1680\tx2240\tx2800\tx3360\tx3920\tx4480\tx5040\tx5600\tx6160\tx6720\ql \cf0\f0{{\NeXTGraphic FisicaLabPizarra.jpg \width8540 \height6680}\'AC}\f2\cf2 \par
+\pard\ql\pard\tx0\tx560\tx1120\tx1680\tx2240\tx2800\tx3360\tx3920\tx4480\tx5040\tx5600\tx6160\ql \par
+\par
+\f1\fs28\b Handling the elements\f2\fs24\b0 \par
+ \par
+\f1 To add elements at the chalkboard, do a click above the desired element. The mouse\rquote s cursor will become in an open hand, meaning this that we will add an element. Do a click above the chalkboard in the position where you want the element, the mouse\rquote s cursor will back at its original shape. Each time you add a new element, or select one different, a yellow square will be drawn around the current element. The data of the current element are displayed, for its edition, at panel \b Modules and elements\b0 . When you leave the mouse\rquote s cursor above one element in the chalkboard, a label with the element\rquote s data is displayed. In \b Preferences\b0 panel you can configure the font size of these labels.\par
+\par
+\pard\ql\pard\tx560\tx1120\tx1680\tx2240\tx2800\tx3360\tx3920\tx4480\tx5040\tx5600\tx6160\tx6720\ql \cf0\f0{{\NeXTGraphic chalkboardProperties.jpg \width9020 \height4600}\'AC}\f1\cf2 \par
+\pard\ql\pard\tx0\tx560\tx1120\tx1680\tx2240\tx2800\tx3360\tx3920\tx4480\tx5040\tx5600\tx6160\ql \par
+If you want move an element, click above it with the \b Control\b0 key pressed, the mouse\rquote s cursor will become in a close hand, meaning this that we are moving an element. Do click in the new position and the mouse\rquote s cursor will back at its original shape. In other hand, if you want delete an element, do click above it with the \b Shift\b0 key pressed.\par
+\par
+Keep in mind that FisicaLab don\rquote t let you combine elements from different modules. The elements in each module are enough to set a wide variety of problems.\f2 \par
+\par
+\par
+\f1\fs28\b Element data\f2\fs24\b0 \par
+\par
+\f1 When you select an element in the chalkboard, or add a new element, you will see a table at the bottom of the window \b Modules and elements\b0 . With a double click above any field of the second column, you can write the data. FisicaLab supports scientific notation, to use this use the letter E. For example, to write the number 3.45x10-5, write:\par
+\par
+\pard\ql\pard\tx0\tx560\tx1120\tx1680\tx2240\tx2800\tx3360\tx3920\tx4480\tx5040\tx5600\tx6160\qc 3.45E-5\par
+\pard\ql\pard\tx0\tx560\tx1120\tx1680\tx2240\tx2800\tx3360\tx3920\tx4480\tx5040\tx5600\tx6160\ql \par
+All numerical data must be without spaces. For example, the following numbers are wrong:\par
+\par
+\pard\ql\pard\tx0\tx560\tx1120\tx1680\tx2240\tx2800\tx3360\tx3920\tx4480\tx5040\tx5600\tx6160\qc - 5.3\par
+7.8E - 8\par
+\pard\ql\pard\tx0\tx560\tx1120\tx1680\tx2240\tx2800\tx3360\tx3920\tx4480\tx5040\tx5600\tx6160\ql \par
+Also, FisicaLab can use many conversion factors. To use these, add the character @ before the conversion. If you have selected the SI system, FisicaLab assumes that all data are in meters, kg, seconds, etc. With the English system, FisicaLab assumes that all data are in feet, pounds, slugs, seconds, etc. (in the English system the mass must be in slugs). For example, if you want write an speed of 75 km/h, use:\par
+\par
+\pard\ql\pard\tx0\tx560\tx1120\tx1680\tx2240\tx2800\tx3360\tx3920\tx4480\tx5040\tx5600\tx6160\qc 75 @ km/h\par
+\pard\ql\pard\tx0\tx560\tx1120\tx1680\tx2240\tx2800\tx3360\tx3920\tx4480\tx5040\tx5600\tx6160\ql \par
+Here, we have one space before and after the character @, but these are for clarity, and are not required. Each module has its how conversion factors, as you can see in the sections that deal about these. \par
+\par
+You can use letters or words to represent the unknown data. If, for example, the final velocity is an unknown data, you can represent this like:\par
+\par
+\pard\ql\pard\tx0\tx560\tx1120\tx1680\tx2240\tx2800\tx3360\tx3920\tx4480\tx5040\tx5600\tx6160\qc fv\par
+finalv\par
+fvel\par
+\par
+\pard\ql\pard\tx0\tx560\tx1120\tx1680\tx2240\tx2800\tx3360\tx3920\tx4480\tx5040\tx5600\tx6160\ql or any other combination. But, we recommend you use letters or words that are related with the unknown data. Also, the conversion factors can be used with the unknown data. For example, if the time is unknown, and you want this in minutes, write something like:\par
+\par
+\pard\ql\pard\tx0\tx560\tx1120\tx1680\tx2240\tx2800\tx3360\tx3920\tx4480\tx5040\tx5600\tx6160\qc t @ min\par
+\par
+\pard\ql\pard\tx0\tx560\tx1120\tx1680\tx2240\tx2800\tx3360\tx3920\tx4480\tx5040\tx5600\tx6160\ql The scientific notation can be used with the unknowns, adding the characters #E at the end of the name. For example, for a coefficient of thermal expansion, that is a small value:\par
+\par
+\pard\ql\pard\tx0\tx560\tx1120\tx1680\tx2240\tx2800\tx3360\tx3920\tx4480\tx5040\tx5600\tx6160\qc coefficient#E\par
+\pard\ql\pard\tx0\tx560\tx1120\tx1680\tx2240\tx2800\tx3360\tx3920\tx4480\tx5040\tx5600\tx6160\ql \par
+Also, this can be used with a conversion factor. For example, for a very long distance that we want in kilometers:\par
+\par
+\pard\ql\pard\tx0\tx560\tx1120\tx1680\tx2240\tx2800\tx3360\tx3920\tx4480\tx5040\tx5600\tx6160\qc distance#E @ km\par
+\pard\ql\pard\tx0\tx560\tx1120\tx1680\tx2240\tx2800\tx3360\tx3920\tx4480\tx5040\tx5600\tx6160\ql \par
+All the conversion factors are available in a contextual menu. After select the row of data where want add the factor, a right mouse click open a context menu with all available factors.\par
+\par
+\pard\ql\pard\tx560\tx1120\tx1680\tx2240\tx2800\tx3360\tx3920\tx4480\tx5040\tx5600\tx6160\tx6720\ql \cf0\f0{{\NeXTGraphic menuContextual.jpg \width6120 \height5320}\'AC}\f1\cf2 \par
+\pard\ql\pard\tx0\tx560\tx1120\tx1680\tx2240\tx2800\tx3360\tx3920\tx4480\tx5040\tx5600\tx6160\ql \par
+FisicaLab allows mathematical operations directly on the fields where you enter data. Can be carried out operations of addition (+), subtraction (-), multiplication (*) and division (/). Although not allowed to group operations by parentheses. It also provides some useful functions for certain calculations. These are listed below with its description:\par
+\par
+\b cos(ang)\tab \tab Calculates the cosine of the sexagesimal angle "ang".\par
+sin(ang)\tab \tab Calculates the sine of the sexagesimal angle "ang".\par
+tan(ang)\tab \tab Calculates the tangent of the sexagesimal angle "ang".\par
+sqrt(x)\tab \tab Calculates the square root of the number "x".\par
+hypot(a,b)\tab Calculates the hypotenuse of a right triangle whose legs are "a" and "b".\par
+leg(c,a)\tab \tab Calculates the leg of the right triangle whose hypotenuse is "c" and the\par
+\tab \tab \tab other leg is "a".\par
+rd(m1,m2,d)\tab Calculates the distance of the mass "m1" to the center of mass of the\par
+\tab \tab \tab system consisting of the masses "m1" and "m2", which are spaced a\par
+\tab \tab \tab distance "d".\b0 \par
+\par
+The numbers that are passed as parameters to these functions must have consistent units. For example, in the \b hypot()\b0 function both legs must be in the same units, whether centimeters, meters, inches, etc. These functions can be used in operations of addition, subtraction, multiplication and division. In these operations blank spaces are not allowed. Here are some examples:\par
+\par
+\pard\ql\b\pard\tx0\tx560\tx1120\tx1680\tx2240\tx2800\tx3360\tx3920\tx4480\tx5040\tx5600\tx6160\qc 8*cos(34)\par
+hypot(4,3)-2\par
+rd(3,6,40)*sin(30) @ cm\par
+15*8/hypot(13,8)\b0 \par
+\pard\ql\pard\tx0\tx560\tx1120\tx1680\tx2240\tx2800\tx3360\tx3920\tx4480\tx5040\tx5600\tx6160\ql \par
+Once entered the operation, FisicaLab will do the calculation and will write the result in the entry. Note that is possible to apply conversion factors. Although these can also be applied after carrying out the calculation.\par
+\par
+The fields where you enter angles do not allow the operations and functions described above. This is because these fields have their own operations and functions. For example, FisicaLab allows write the angles as slopes (a/b), and automatically convert this to sexagesimal angles. What is very useful for problems of trusses.\par
+\par
+\pard\ql\pard\tx560\tx1120\tx1680\tx2240\tx2800\tx3360\tx3920\tx4480\tx5040\tx5600\tx6160\tx6720\ql \cf0\f0{{\NeXTGraphic angulos.jpg \width5080 \height2660}\'AC}\f1\cf2 \par
+\pard\ql\pard\tx0\tx560\tx1120\tx1680\tx2240\tx2800\tx3360\tx3920\tx4480\tx5040\tx5600\tx6160\ql \par
+For these fields are available two functions that calculates an angle from other relationships. These functions are:\par
+\par
+\b acos(a/c)\tab Calculates the sexagesimal angle whose cosine is the ratio "a/c".\par
+asin(b/c)\tab \tab Calculates the sexagesimal angle whose sine is the ratio "b/c".\b0 \par
+\par
+If an operation is entered incorrectly, for example if it contains spaces or contains a function with an incorrect number of parameters, FisicaLab will do nothing and will take that string as an unknown.\par
+\par
+\par
+\b Caution:\b0 \cf0\cf3 If, for example, you add a mass conversion factor in a time data, this will cause an error in the solution. And you will not get a message about this error.\cf0\f2\cf2 \par
+\par
+\par
+\f1\fs28\b How it works\f2\fs24\b0 \par
+\par
+\f1 FisicaLab work over the base of \i number of equations = number of unknown data\i0 . In general you don\rquote t need worry about this. But in some cases you will see the error \b "The system is undetermined"\b0 . This occurs when you write numeric data in a field that must be an unknown data. The examples show this cases.\f2 \par
+\par
+\par
+\f1\fs28\b Messages\f2\fs24\b0 \par
+\par
+\f1 FisicaLab write a wide variety of messages in the text view when a problem is wrong. However, you always will see a message about the calculation\rquote s status, as you can see in the following image:\par
+\par
+\pard\ql\f0\pard\tx560\tx1120\tx1680\tx2240\tx2800\tx3360\tx3920\tx4480\tx5040\tx5600\tx6160\tx6720\ql \cf0{{\NeXTGraphic cinema44.tif \width4760 \height800}\'AC}\f1\cf2 \par
+\pard\ql\pard\tx0\tx560\tx1120\tx1680\tx2240\tx2800\tx3360\tx3920\tx4480\tx5040\tx5600\tx6160\ql \par
+The last line say \b "State = success"\b0 , meaning that the calculation was successful. Any other status different as \i success\i0 , mean that or the set problem don\rquote t have a solution, or an unexpected error occurred.\par
+\par
+} \ No newline at end of file
diff --git a/t/recipes/checks/files/source-missing/cruft-gfdl-invariants/build-spec/orig/src/frontback.html b/t/recipes/checks/files/source-missing/cruft-gfdl-invariants/build-spec/orig/src/frontback.html
new file mode 100644
index 0000000..b8e14bc
--- /dev/null
+++ b/t/recipes/checks/files/source-missing/cruft-gfdl-invariants/build-spec/orig/src/frontback.html
@@ -0,0 +1,56 @@
+<html lang="en">
+<head>
+<title>Some title</title>
+<!--
+Some verbatim test
+Copyright (C) 1988, 1989, 1992, 1993, 1994, 1995, 1996, 1997,
+1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009,
+2010, 2011, 2012
+
+Permission is granted to copy, distribute and/or modify this document
+under the terms of the GNU Free Documentation License, Version 1.3 or
+any later version published by the Free Software Foundation; with the
+Invariant Sections being "Funding Free Software", the Front-Cover
+Texts being (a) (see below), and with the Back-Cover Texts being (b)
+(see below). A copy of the license is included in the section entitled
+"GNU Free Documentation License".
+
+(a) The Front-Cover Text is:
+
+ A GNU Manual
+
+(b) The Back-Cover Text is:
+
+ You have freedom to copy and modify this GNU Manual, like GNU
+ software. Copies published by the Free Software Foundation raise
+ funds.-->
+</head>
+<body>
+This is
+ <pre class="sp">
+</pre>
+Copyright &copy; 1988, 1989, 1992, 1993, 1994, 1995, 1996, 1997,
+1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009,
+2010, 2011, 2012
+
+ <p>Permission is granted to copy, distribute and/or modify this document
+under the terms of the GNU Free Documentation License, Version 1.3 or
+any later version published by the Free Software Foundation; with the
+Invariant Sections being &ldquo;Funding Free Software&rdquo;, the Front-Cover
+Texts being (a) (see below), and with the Back-Cover Texts being (b)
+(see below). A copy of the license is included in the section entitled
+&ldquo;GNU Free Documentation License&rdquo;.
+
+ <p>(a) The Front-Cover Text is:
+
+ <p>A GNU Manual
+
+ <p>(b) The Back-Cover Text is:
+
+ <p>You have freedom to copy and modify this GNU Manual, like GNU
+ software. Copies published raises funds.
+ <pre class="sp">
+
+</pre>
+</body>
+</html>
diff --git a/t/recipes/checks/files/source-missing/cruft-gfdl-invariants/build-spec/orig/src/frontback.texi b/t/recipes/checks/files/source-missing/cruft-gfdl-invariants/build-spec/orig/src/frontback.texi
new file mode 100644
index 0000000..aa1d8e0
--- /dev/null
+++ b/t/recipes/checks/files/source-missing/cruft-gfdl-invariants/build-spec/orig/src/frontback.texi
@@ -0,0 +1,7 @@
+Permission is granted to copy, distribute and/or modify this document
+under the terms of the GNU Free Documentation License, Version 1.3 or
+any later version published by the Free Software Foundation; with no
+Invariant Sections, with the Front-Cover Texts being ``A Debian Manual'',
+and with the Back-Cover Texts as in (a) below. A copy of the license
+is included in the section entitled ``GNU Free Documentation
+License''.
diff --git a/t/recipes/checks/files/source-missing/cruft-gfdl-invariants/build-spec/orig/src/invariant.txt b/t/recipes/checks/files/source-missing/cruft-gfdl-invariants/build-spec/orig/src/invariant.txt
new file mode 100644
index 0000000..e649d17
--- /dev/null
+++ b/t/recipes/checks/files/source-missing/cruft-gfdl-invariants/build-spec/orig/src/invariant.txt
@@ -0,0 +1,7 @@
+Permission is granted to copy, distribute and/or modify this
+document under the terms of the GNU Free Documentation License,
+Version 1.3 or any later version published by the Free Software
+Foundation; with the Invariant Sections being just "GNU
+Manifesto", with no Front-Cover Texts, and with no Back-Cover
+Texts. A copy of the license is included in the section
+entitled "GNU Free Documentation License".
diff --git a/t/recipes/checks/files/source-missing/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/appendix.txt b/t/recipes/checks/files/source-missing/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/appendix.txt
new file mode 100644
index 0000000..8883cac
--- /dev/null
+++ b/t/recipes/checks/files/source-missing/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/appendix.txt
@@ -0,0 +1,25 @@
+ADDENDUM: How to use this License for your documents
+====================================================
+
+To use this License in a document you have written, include a copy of
+the License in the document and put the following copyright and license
+notices just after the title page:
+
+ Copyright (C) YEAR YOUR NAME.
+ Permission is granted to copy, distribute and/or modify this document
+ under the terms of the GNU Free Documentation License, Version 1.3
+ or any later version published by the Free Software Foundation;
+ with no Invariant Sections, no Front-Cover Texts, and no Back-Cover
+ Texts. A copy of the license is included in the section entitled ``GNU
+ Free Documentation License''.
+
+ If you have Invariant Sections, Front-Cover Texts and Back-Cover
+Texts, replace the "with...Texts." line with this:
+
+ with the Invariant Sections being LIST THEIR TITLES, with
+ the Front-Cover Texts being LIST, and with the Back-Cover Texts
+ being LIST.
+
+ If you have Invariant Sections without Cover Texts, or some other
+combination of the three, merge those two alternatives to suit the
+situation.
diff --git a/t/recipes/checks/files/source-missing/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/badpunctuation.txt b/t/recipes/checks/files/source-missing/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/badpunctuation.txt
new file mode 100644
index 0000000..fd6ed32
--- /dev/null
+++ b/t/recipes/checks/files/source-missing/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/badpunctuation.txt
@@ -0,0 +1,8 @@
+No ;after version
+Permission is granted to copy, distribute and/or modify this document
+under the terms of the GNU Free Documentation License, Version 1.1
+with no Invariant Sections, no Front-Cover Texts and
+no Back-Cover Texts;
+A copy of the license is included in the section entitled
+license GNU Free Documentation License
+
diff --git a/t/recipes/checks/files/source-missing/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/cflow.texi b/t/recipes/checks/files/source-missing/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/cflow.texi
new file mode 100644
index 0000000..2be8767
--- /dev/null
+++ b/t/recipes/checks/files/source-missing/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/cflow.texi
@@ -0,0 +1,12 @@
+Published by the Free Software Foundation,
+51 Franklin Street, Fifth Floor
+Boston, MA 02110-1301, USA
+
+Copyright @copyright{} 2005, 2010, 2014-2016 Sergey Poznyakoff
+
+Permission is granted to copy, distribute and/or modify this document
+under the terms of the GNU Free Documentation License, Version 1.2 or
+any later version published by the Free Software Foundation; with no
+Invariant Sections, no Front-Cover and Back-Cover texts. A copy of
+the license is included in the section entitled ``GNU Free Documentation
+License''.
diff --git a/t/recipes/checks/files/source-missing/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/citetitle.po b/t/recipes/checks/files/source-missing/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/citetitle.po
new file mode 100644
index 0000000..73f9c3a
--- /dev/null
+++ b/t/recipes/checks/files/source-missing/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/citetitle.po
@@ -0,0 +1,16 @@
+#: C/index.docbook:65(legalnotice/para)
+msgid ""
+"Permission is granted to copy, distribute and/or modify this document under "
+"the terms of the <citetitle>GNU Free Documentation License</citetitle>, "
+"Version 1.1 or any later version published by the Free Software Foundation "
+"with no Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts. A "
+"copy of the license is <link linkend=\"fdl\">included</link>."
+msgstr ""
+"Das vorliegende Dokument kann gemäß den Bedingungen der GNU Free "
+"Documentation License (GFDL), Version 1.1 oder jeder späteren, von der Free "
+"Software Foundation veröffentlichten Version ohne unveränderbare Abschnitte "
+"sowie ohne Texte auf dem vorderen und hinteren Buchdeckel kopiert, verteilt "
+"und/oder modifiziert werden. Eine Kopie der GFDL finden Sie unter diesem "
+"<ulink type=\"help\" url=\"ghelp:fdl\">Link</ulink> oder in der mit diesem "
+"Handbuch gelieferten Datei COPYING-DOCS."
+
diff --git a/t/recipes/checks/files/source-missing/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/clisp.txt b/t/recipes/checks/files/source-missing/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/clisp.txt
new file mode 100644
index 0000000..d3490c4
--- /dev/null
+++ b/t/recipes/checks/files/source-missing/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/clisp.txt
@@ -0,0 +1,9 @@
+
+Permission is granted to copy, distribute and/or modify this
+document under the terms of the GNU Free Documentation License
+(FDL), either version 1.2 of the license,
+or (at your option) any later version published by the free software
+foundation (FSF); with no invariant sections,
+with no front-cover text, and with no back-cover texts
+A copy of the license is included in the
+section entitled "GNU Free Documentation License". \ No newline at end of file
diff --git a/t/recipes/checks/files/source-missing/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/clisp.xml b/t/recipes/checks/files/source-missing/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/clisp.xml
new file mode 100644
index 0000000..37449fb
--- /dev/null
+++ b/t/recipes/checks/files/source-missing/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/clisp.xml
@@ -0,0 +1,6 @@
+ <para>This document documents free software; you can redistribute it
+ and/or modify it under the terms of the GNU General Public License
+ (&gpl;), either version 2 of the License, or (at your option) any
+ later version published by the &fsf;.
+ A copy of the license is included in <xref linkend="gpl"/>.
+ </para>
diff --git a/t/recipes/checks/files/source-missing/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/comments.po b/t/recipes/checks/files/source-missing/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/comments.po
new file mode 100644
index 0000000..d11e67b
--- /dev/null
+++ b/t/recipes/checks/files/source-missing/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/comments.po
@@ -0,0 +1,9 @@
+# French translation for SANE backend options
+#
+# Permission is granted to copy, distribute and/or modify this document
+# under the terms of the GNU Free Documentation License, Version 1.1
+# or any later version published by the Free Software Foundation;
+# with no Invariant Sections, with no Front-Cover Texts, and with
+# no Back-Cover.
+# A copy of the license is included in the section entitled "GNU
+# Free Documentation License".
diff --git a/t/recipes/checks/files/source-missing/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/diveintopythonok.html b/t/recipes/checks/files/source-missing/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/diveintopythonok.html
new file mode 100644
index 0000000..6ace5df
--- /dev/null
+++ b/t/recipes/checks/files/source-missing/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/diveintopythonok.html
@@ -0,0 +1,12 @@
+<html>
+<!--- This is a old false positive -->
+<body>
+ <div class="legalnotice">
+ <p>Permission is granted to copy, distribute, and/or modify this document under the terms of the <span class="acronym">GNU</span> Free Documentation License, Version 1.1 or any later version published by the Free Software Foundation; with no Invariant
+ Sections, no Front-Cover Texts, and no Back-Cover Texts. A copy of the license is included in <a href="../appendix/fdl.html" title="Appendix&nbsp;G.&nbsp;GNU Free Documentation License">Appendix&nbsp;G, <i>GNU Free Documentation License</i></a>.
+ </p>
+ <p>The example programs in this book are free software; you can redistribute and/or modify them under the terms of the <span class="application">Python</span> license as published by the <span class="application">Python</span> Software Foundation. A copy of the license is included in <a href="../appendix/license.html" title="Appendix&nbsp;H.&nbsp;Python license">Appendix&nbsp;H, <i>Python license</i></a>.
+ </p>
+ </div>
+</body>
+</html>
diff --git a/t/recipes/checks/files/source-missing/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/findsutilsokinlinenewline.c b/t/recipes/checks/files/source-missing/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/findsutilsokinlinenewline.c
new file mode 100644
index 0000000..5291fd3
--- /dev/null
+++ b/t/recipes/checks/files/source-missing/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/findsutilsokinlinenewline.c
@@ -0,0 +1,15 @@
+/* false positive from some package */
+ static const char *copy_para[]=
+ {
+ "Copyright (C) 1994, 1996, 1998, 2000, 2001, 2003, 2004, 2005, 2006,"
+ ,"2007, 2009, 2010, 2011 Free Software Foundation, Inc."
+ ,""
+ ,"Permission is granted to copy, distribute and/or modify this document"
+ ,"under the terms of the GNU Free Documentation License, Version 1.3 or"
+ ,"any later version published by the Free Software Foundation; with no"
+ ,"Invariant\nSections, with no\nFront-Cover Texts,\nand with no Back-Cover"
+ ,"Texts. A copy of the license is included in the ``GNU Free"
+ ,"Documentation License'' file as part of this distribution."
+ ""
+ ,NULL
+ };
diff --git a/t/recipes/checks/files/source-missing/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/findutilsok.c b/t/recipes/checks/files/source-missing/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/findutilsok.c
new file mode 100644
index 0000000..23aa0af
--- /dev/null
+++ b/t/recipes/checks/files/source-missing/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/findutilsok.c
@@ -0,0 +1,15 @@
+/* false positive from findutils */
+ static const char *copy_para[]=
+ {
+ "Copyright (C) 1994, 1996, 1998, 2000, 2001, 2003, 2004, 2005, 2006,"
+ ,"2007, 2009, 2010, 2011 Free Software Foundation, Inc."
+ ,""
+ ,"Permission is granted to copy, distribute and/or modify this document"
+ ,"under the terms of the GNU Free Documentation License, Version 1.3 or"
+ ,"any later version published by the Free Software Foundation; with no"
+ ,"Invariant Sections, with no Front-Cover Texts, and with no Back-Cover"
+ ,"Texts. A copy of the license is included in the ``GNU Free"
+ ,"Documentation License'' file as part of this distribution."
+ ""
+ ,NULL
+ };
diff --git a/t/recipes/checks/files/source-missing/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/fonts.html b/t/recipes/checks/files/source-missing/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/fonts.html
new file mode 100644
index 0000000..ee27a4f
--- /dev/null
+++ b/t/recipes/checks/files/source-missing/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/fonts.html
@@ -0,0 +1,9 @@
+<P align="JUSTIFY" style="margin-bottom: 0cm"><FONT face="tahoma"><FONT size="2">
+Permission is granted to copy, distribute
+and/or modify this document under the terms
+of the GNU Free Documentation License, Version
+1.1 or any later version published by the
+Free Software Foundation; with the Invariant
+Sections being LIST THEIR TITLES, with the
+Front-Cover Texts being LIST, and with the
+Back-Cover Texts being LIST.</FONT></FONT></P> \ No newline at end of file
diff --git a/t/recipes/checks/files/source-missing/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/fontsMX.html b/t/recipes/checks/files/source-missing/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/fontsMX.html
new file mode 100644
index 0000000..426c273
--- /dev/null
+++ b/t/recipes/checks/files/source-missing/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/fontsMX.html
@@ -0,0 +1 @@
+<td>Permission is granted to copy, distribute and/or modify this document under the terms of the <b><a href="https://en.wikipedia.org/wiki/en:GNU_Free_Documentation_License" class="extiw" title="w:en:GNU Free Documentation License">GNU Free Documentation License</a></b>, Version 1.2 or any later version published by the <a href="https://en.wikipedia.org/wiki/en:Free_Software_Foundation" class="extiw" title="w:en:Free Software Foundation">Free Software Foundation</a>; with no Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts. A copy of the license is included in the section entitled <i><a href="/wiki/Commons:GNU_Free_Documentation_License,_version_1.2" title="Commons:GNU Free Documentation License, version 1.2">GNU Free Documentation License</a></i>.<span class="licensetpl_link" style="display:none;">http://www.gnu.org/copyleft/fdl.html</span><span class="licensetpl_short" style="display:none;">GFDL</span><span class="licensetpl_long" style="display:none;">GNU Free Documentation License</span><span class="licensetpl_link_req" style="display:none;">true</span><span class="licensetpl_attr_req" style="display:none;">true</span></td> \ No newline at end of file
diff --git a/t/recipes/checks/files/source-missing/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/gfdllicenseexample.html b/t/recipes/checks/files/source-missing/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/gfdllicenseexample.html
new file mode 100644
index 0000000..fffca61
--- /dev/null
+++ b/t/recipes/checks/files/source-missing/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/gfdllicenseexample.html
@@ -0,0 +1,13 @@
+<!DOCTYPE html>
+<html>
+false positive found in license text:
+<pre>
+Copyright (C) year your name.
+Permission is granted to copy, distribute and/or modify this document
+under the terms of the GNU Free Documentation License, Version 1.3
+or any later version published by the Free Software Foundation;
+with the Invariant Sections being <var>list their titles</var>, with
+the Front-Cover Texts being <var>list</var>, and with the Back-Cover Texts
+being <var>list</var>.
+A copy of the license is included in the section entitled ``GNU Free Documentation License''.
+</html>
diff --git a/t/recipes/checks/files/source-missing/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/gfdllicenseexample.texi b/t/recipes/checks/files/source-missing/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/gfdllicenseexample.texi
new file mode 100644
index 0000000..fc52ba9
--- /dev/null
+++ b/t/recipes/checks/files/source-missing/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/gfdllicenseexample.texi
@@ -0,0 +1,13 @@
+false positive found in license text:
+@smallexample
+@group
+ Copyright (C) @var{year} @var{your name}.
+ Permission is granted to copy, distribute and/or modify this document
+ under the terms of the GNU Free Documentation License, Version 1.3
+ or any later version published by the Free Software Foundation;
+ with the Invariant Sections being @var{list their titles}, with the
+ Front-Cover Texts being @var{list}, and with the Back-Cover Texts being @var{list}.
+ A copy of the license is included in the section entitled ``GNU
+ Free Documentation License''.
+@end group
+@end smallexample
diff --git a/t/recipes/checks/files/source-missing/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/gfdllicenseexamplesbr.html b/t/recipes/checks/files/source-missing/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/gfdllicenseexamplesbr.html
new file mode 100644
index 0000000..46cbd2f
--- /dev/null
+++ b/t/recipes/checks/files/source-missing/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/gfdllicenseexamplesbr.html
@@ -0,0 +1,13 @@
+<!DOCTYPE html>
+<html>
+false positive found in license text:
+<pre>
+Copyright (C) year your name.
+Permission is granted to copy, distribute and/or modify this document
+under the terms of the GNU Free Documentation License, Version 1.3
+or any later version published by the Free Software Foundation;
+with the<br/> Invariant Sections<br /> being <var>list their titles</var>, with
+the Front-Cover Texts being <var>list</var>, and with the Back-Cover Texts
+being <var>list</var>.
+A copy of the license is included in the section entitled ``GNU Free Documentation License''.
+</html>
diff --git a/t/recipes/checks/files/source-missing/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/gfdltexcomments.tex b/t/recipes/checks/files/source-missing/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/gfdltexcomments.tex
new file mode 100644
index 0000000..00e496c
--- /dev/null
+++ b/t/recipes/checks/files/source-missing/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/gfdltexcomments.tex
@@ -0,0 +1,7 @@
+% Permission is granted to copy, distribute and/or modify this document
+% under the terms of the GNU Free Documentation License, Version 1.1 or
+% any later version published by the Free Software Foundation; with no
+% Invariant Sections, with no Front-Cover Texts, and with no Back-Cover
+% Texts. A copy of the license is included in the section entitled
+% ``GNU Free Documentation License.''
+%
diff --git a/t/recipes/checks/files/source-missing/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/gnashfalsepositive.html b/t/recipes/checks/files/source-missing/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/gnashfalsepositive.html
new file mode 100644
index 0000000..f01cd4c
--- /dev/null
+++ b/t/recipes/checks/files/source-missing/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/gnashfalsepositive.html
@@ -0,0 +1,15 @@
+<html>
+<body>
+<div class="blockquote"><blockquote class="blockquote"><p>
+ Copyright 2008, Free Software Foundation.
+ </p><p>
+ Permission is granted to copy, distribute and/or modify this
+ document under the terms of the GNU Free Documentation
+ License, Version 1.1 or any later version published by the
+ Free Software Foundation; with no<a class="link" href="#fdl-invariant">Invariant Sections</link>, with no <a class="link" href="#fdl-cover-texts">Front-Cover Texts</link>,
+ and with no <a class="link" href="#fdl-cover-texts">Back-Cover
+ Texts</a>. A copy of the license is included in
+ the section entitled "GNU Free Documentation License".
+</p></blockquote></div>
+</body>
+</html>
diff --git a/t/recipes/checks/files/source-missing/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/gnashfalsepositive.info b/t/recipes/checks/files/source-missing/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/gnashfalsepositive.info
new file mode 100644
index 0000000..cc7a754
--- /dev/null
+++ b/t/recipes/checks/files/source-missing/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/gnashfalsepositive.info
@@ -0,0 +1,14 @@
+To use this License in a document you have written, include a copy of
+the License in the document and put the following copyright and license
+notices just after the title page:
+
+Copyright 2008, Free Software Foundation.
+
+Permission is granted to copy, distribute and/or modify this
+document under the terms of the GNU Free Documentation License,
+version 1.1 or any later version published by the Free Software
+Foundation; with noInvariant Sections (*note fdl-invariant::),
+with no Front-Cover Texts (*note fdl-cover-texts::), and with no
+Back-Cover Texts (*note fdl-cover-texts::). A copy of the license
+is included in the section entitled "GNU Free Documentation
+License".
diff --git a/t/recipes/checks/files/source-missing/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/gnashfalsepositive.xml b/t/recipes/checks/files/source-missing/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/gnashfalsepositive.xml
new file mode 100644
index 0000000..9e77873
--- /dev/null
+++ b/t/recipes/checks/files/source-missing/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/gnashfalsepositive.xml
@@ -0,0 +1,15 @@
+<html>
+<body>
+<div class="blockquote"><blockquote class="blockquote"><p>
+ Copyright 2008, Free Software Foundation.
+ </p><p>
+ Permission is granted to copy, distribute and/or modify this
+ document under the terms of the GNU Free Documentation
+ License, Version 1.1 or any later version published by the
+ Free Software Foundation; with no<link class="link" href="#fdl-invariant">Invariant Sections</link>, with no <link class="link" href="#fdl-cover-texts">Front-Cover Texts</link>,
+ and with no <link class="link" href="#fdl-cover-texts">Back-Cover
+ Texts</link>. A copy of the license is included in
+ the section entitled "GNU Free Documentation License".
+</p></blockquote></div>
+</body>
+</html>
diff --git a/t/recipes/checks/files/source-missing/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/gtk-doc.po b/t/recipes/checks/files/source-missing/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/gtk-doc.po
new file mode 100644
index 0000000..07b3003
--- /dev/null
+++ b/t/recipes/checks/files/source-missing/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/gtk-doc.po
@@ -0,0 +1,42 @@
+#: C/fdl-appendix.xml:79(sect1/para)
+msgid ""
+"A <_:quote-1/> is a named appendix or a front-matter section of the <_:"
+"link-2/> that deals exclusively with the relationship of the publishers or "
+"authors of the Document to the Document's overall subject (or to related "
+"matters) and contains nothing that could fall directly within that overall "
+"subject. (For example, if the Document is in part a textbook of mathematics, "
+"a Secondary Section may not explain any mathematics.) The relationship could "
+"be a matter of historical connection with the subject or with related "
+"matters, or of legal, commercial, philosophical, ethical or political "
+"position regarding them."
+msgstr ""
+"Une <_:quote-1/> désigne une annexe au <_:link-2/>, ou toute information "
+"indiquant les rapports entre l'auteur ou l'éditeur et le sujet (ou tout "
+"autre sujet connexe) du Document, sans toutefois être en rapport direct avec "
+"le sujet lui-même (par exemple, si le Document est un manuel de "
+"mathématiques, une Section secondaire ne traitera d'aucune notion "
+"mathématique). Cette section peut contenir des informations relatives à "
+"l'historique du Document, des sources documentaires, des dispositions "
+"légales, commerciales, philosophiques, ou des positions éthiques ou "
+"politiques susceptibles de concerner le sujet traité."
+
+
+#: C/fdl-appendix.xml:632(blockquote/para)
+#, fuzzy
+msgid ""
+"Permission is granted to copy, distribute and/or modify this document under "
+"the terms of the GNU Free Documentation License, Version 1.1 or any later "
+"version published by the Free Software Foundation; with the <_:link-1/> being "
+"LIST THEIR TITLES, with the <_:link-2/> being LIST, and with the <_:link-3/> "
+"being LIST. A copy of the license is included in the section entitled <_:"
+"quote-4/>."
+msgstr ""
+"Es wird die Erlaubnis gegeben, dieses Dokument zu kopieren, verteilen und/"
+"oder zu verändern unter den Bedingungen der GNU Free Documentation License, "
+"Version 1.1 oder einer späteren, von der Free Software Foundation "
+"veröffentlichten Version; mit den <link linkend=\"fdl-invariant"
+"\">Unveränderlichen Abschnitten</link>. DEREN TITEL AUFGEZÄHLT sind, mit den "
+"<link linkend=\"fdl-cover-texts\">Vorderseitentexten</link>, die AUFGEZÄHLT "
+"sind, und mit den <link linkend=\"fdl-cover-texts\">Rückseitentexten</link>, "
+"die AUFGEZÄHLT sind. Eine Kopie dieser Lizenz ist in dem Abschnitt enthalten, "
+"der mit <quote>GNU Free Documentation License</quote> betitelt ist."
diff --git a/t/recipes/checks/files/source-missing/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/hyphen-used-as-minus-sign.diff b/t/recipes/checks/files/source-missing/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/hyphen-used-as-minus-sign.diff
new file mode 100644
index 0000000..ae8c973
--- /dev/null
+++ b/t/recipes/checks/files/source-missing/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/hyphen-used-as-minus-sign.diff
@@ -0,0 +1,102 @@
+Description: hyphen-used-as-minus-sign
+ This manual page seems to contain a hyphen where a minus sign was
+ intended.
+Author: Ruben Molina <rmolina@udea.edu.co>
+Forwarded: no
+Last-Update: 2011-06-25
+
+Index: kst-2.0.3/src/kst/kst.1.txt
+===================================================================
+--- kst-2.0.3.orig/src/kst/kst.1.txt
++++ kst-2.0.3/src/kst/kst.1.txt
+@@ -47,7 +47,7 @@ kst may be run entirely from within its
+ command line arguments are needed. kst has a powerful wizard for
+ easily setting up new plots.
+
+-In the second invocation, kst loads pre-saved plot specifications from the
++In the second invocation, kst loads pre\-saved plot specifications from the
+ file
+ .I kstfile
+ and optionally may override some of the settings in that file.
+@@ -64,7 +64,7 @@ plot all curves in separate plots
+ .TP
+ .B \-a\fR
+ average frames (simple mean) when plotting with
+-.B -s\fR.
++.B \-s\fR.
+ .TP
+ .B \-\-A4\fR
+ use A4 sized paper for printing. Requires
+@@ -90,7 +90,7 @@ and instead use
+ .B \-f\ STARTFRAME\fR
+ begin plotting at
+ .I STARTFRAME
+-frames into the data. Set to -1 to start at
++frames into the data. Set to \-1 to start at
+ .I NUMFRAMES
+ from the end of the data.
+ .TP
+@@ -112,7 +112,7 @@ use US Letter sized paper for printing.
+ .B \-n\ NUMFRAMES\fR
+ plot at most
+ .I NUMFRAMES
+-frames of data. Set to -1 to indicate all of the data.
++frames of data. Set to \-1 to indicate all of the data.
+ .TP
+ .B \-P\ PLOTNAME\fR
+ plot all plots in the plot named
+@@ -145,7 +145,7 @@ frames when plotting.
+ .B \-x\ FIELD\fR
+ use
+ .I FIELD
+-as the X-axis vector.
++as the X\-axis vector.
+ .TP
+ .B \-y\ FIELD\fR
+ plot
+@@ -158,30 +158,30 @@ plot
+ as an image.
+ .SH EXAMPLES
+ Plot all data in column 2 from data.dat.
+- kst data.dat -y 2
++ kst data.dat \-y 2
+
+ Same as above, except only read 20 lines, starting at line 10.
+- kst data.dat -f 10 -n 20 -y 2
++ kst data.dat \-f 10 \-n 20 \-y 2
+
+ also read col 1. One plot per curve.
+- kst data.dat -f 10 -n 20 -y 1 -y 2
++ kst data.dat \-f 10 \-n 20 \-y 1 \-y 2
+
+ Read col 1 from data2.dat and col 1 from data.dat
+- kst data.dat -f 10 -n 20 -y 2 data2.dat -y 1
++ kst data.dat \-f 10 \-n 20 \-y 2 data2.dat \-y 1
+
+ Same as above, except read 40 lines starting at 30 in data2.dat
+- kst data.dat -f 10 -n 20 -y 2 data2.dat -f 30 -n 40 -y 1
++ kst data.dat \-f 10 \-n 20 \-y 2 data2.dat \-f 30 \-n 40 \-y 1
+
+ Specify the X vector and error bars:
+ Plot x = col 1 and Y = col 2 and error flags = col 3 from data.dat
+- kst data.dat -x 1 -e 3 -y 2
++ kst data.dat \-x 1 \-e 3 \-y 2
+
+ Get the X vector from data1.dat, and the Y vector from data2.dat.
+- kst data1.dat -x 1 data2.dat -y 1
++ kst data1.dat \-x 1 data2.dat \-y 1
+
+ Placement:
+ Plot column 2 and column 3 in plot P1 and column 4 in plot P2
+- kst data.dat -P P1 -y 2 -y 3 -P P2 -y 4
++ kst data.dat \-P P1 \-y 2 \-y 3 \-P P2 \-y 4
+ .SH BUGS
+ Please report bugs to either the kst mailing list at
+ .I kst@kde.org
+@@ -198,6 +198,6 @@ Matthew Truch <matt@truch.net>
+ Permission is granted to copy, distribute and/or modify this document
+ under the terms of the GNU Free Documentation License, Version 1.2 or
+ any later version published by the Free Software Foundation; with no
++Invariant Sections, with no Front\-Cover Texts, and with no Back\-Cover
+ Texts. A copy of the license is included in the `COPYING.DOC' file
+ as part of the kst distribution.
diff --git a/t/recipes/checks/files/source-missing/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/kdoctools/customization/ru/entities/fdl-notice.docbook b/t/recipes/checks/files/source-missing/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/kdoctools/customization/ru/entities/fdl-notice.docbook
new file mode 100644
index 0000000..0168da6
--- /dev/null
+++ b/t/recipes/checks/files/source-missing/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/kdoctools/customization/ru/entities/fdl-notice.docbook
@@ -0,0 +1,6 @@
+<para>Permission is granted to copy, distribute and/or modify this
+document under the terms of the GNU Free Documentation License,
+Version 1.2 or any later version published by the Free Software
+Foundation; with &FDLInvariantSections;, with &FDLFrontCoverText;, and
+with &FDLBackCoverText;. A copy of the license is included in <xref linkend="gnu-fdl"/>.</para>
+
diff --git a/t/recipes/checks/files/source-missing/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/krusader b/t/recipes/checks/files/source-missing/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/krusader
new file mode 100644
index 0000000..96f3be3
--- /dev/null
+++ b/t/recipes/checks/files/source-missing/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/krusader
@@ -0,0 +1,20 @@
+<!-- **********************************************************************
+ 4 more.docbook
+ 5 +++++++++++++++++++++++++++
+ 6 copyright : (C) 2000 - 2010
+ 7 XXXXXX
+ 8 XXXX
+ 9 e-mail : XXXX@XXXX
+ 10 web site : YYYYYY
+ 11 description : something
+ 12
+ 13 ***************************************************************************
+ 14 * Permission is granted to copy, distribute and/or modify this *
+ 15 * document under the terms of the GNU Free Documentation License, *
+ 16 * Version 1.1 or any later version published by the Free Software *
+ 17 * Foundation; with no Invariant Sections, no Front-Cover Texts and *
+ 18 * no Back-Cover Texts. A copy of the license is available on the *
+ 19 * GNU site http://www.gnu.org/licenses/fdl.html or by writing to: *
+ 20 * Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, *
+ 21 * MA 02111-1307, USA. *
+ 22 *********************************************************************** --> \ No newline at end of file
diff --git a/t/recipes/checks/files/source-missing/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/latexhref.tex b/t/recipes/checks/files/source-missing/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/latexhref.tex
new file mode 100644
index 0000000..d082bfc
--- /dev/null
+++ b/t/recipes/checks/files/source-missing/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/latexhref.tex
@@ -0,0 +1,7 @@
+Permission is granted to copy, distribute and/or modify this document
+under the terms of the GNU Free Documentation License, Version 1.2
+or any later version published by the
+\href{http://www.fsf.org}{Free Software Foundation};
+with no Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts.
+A copy of the license is included in the section entitled
+``\hyperlink{GFDL_GFDL}{GNU Free Documentation License}''.
diff --git a/t/recipes/checks/files/source-missing/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/latexhyperlink.tex b/t/recipes/checks/files/source-missing/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/latexhyperlink.tex
new file mode 100644
index 0000000..e193a16
--- /dev/null
+++ b/t/recipes/checks/files/source-missing/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/latexhyperlink.tex
@@ -0,0 +1,7 @@
+Permission is granted to copy, distribute and/or modify this document
+under the terms of the GNU Free Documentation License, Version 1.2
+or any later version published by the
+\hyperlink{http://www.fsf.org}{Free Software Foundation};
+with no Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts.
+A copy of the license is included in the section entitled
+``\hyperlink{GFDL_GFDL}{GNU Free Documentation License}''.
diff --git a/t/recipes/checks/files/source-missing/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/latexhyphenslash.tex b/t/recipes/checks/files/source-missing/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/latexhyphenslash.tex
new file mode 100644
index 0000000..370ea73
--- /dev/null
+++ b/t/recipes/checks/files/source-missing/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/latexhyphenslash.tex
@@ -0,0 +1,2 @@
+Copyright @sx(c) YEAR YOUR NAME. Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.2 or any later version published by the Free Software Foundation; with no Invariant Sections, no Front-\/Cover Texts, and no Back-\/Cover Texts. A copy of the license is included in the section entitled \char`\"{}GNU
+Free Documentation License\char`\"{}. \ No newline at end of file
diff --git a/t/recipes/checks/files/source-missing/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/latexurl.tex b/t/recipes/checks/files/source-missing/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/latexurl.tex
new file mode 100644
index 0000000..107d9fb
--- /dev/null
+++ b/t/recipes/checks/files/source-missing/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/latexurl.tex
@@ -0,0 +1,7 @@
+Permission is granted to copy, distribute and/or modify this document
+under the terms of the GNU Free Documentation
+License\url{http://www.gnu.org/copyleft/fdl.html}, Version 1.1 or any
+later version published by the Free Software Foundation; with no
+Invariant Sections, with no Front-Cover Texts, and with no Back-Cover
+Texts. A copy of the license is included in the chapter entitled "GNU
+Free Documentation License". \ No newline at end of file
diff --git a/t/recipes/checks/files/source-missing/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/libnss-pgsql.xml b/t/recipes/checks/files/source-missing/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/libnss-pgsql.xml
new file mode 100644
index 0000000..8a5eb6e
--- /dev/null
+++ b/t/recipes/checks/files/source-missing/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/libnss-pgsql.xml
@@ -0,0 +1,7 @@
+ <para>
+ Permission is granted to copy, distribute and/or modify this document
+ under the terms of the GNU Free Documentation License, Version 1.1 or
+ any later version published by the Free Software Foundation. There
+ are no invariant sections. A copy of the license is included in the
+ section entitled "GNU Free Documentation License".
+ </para>
diff --git a/t/recipes/checks/files/source-missing/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/lilypond.texi b/t/recipes/checks/files/source-missing/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/lilypond.texi
new file mode 100644
index 0000000..56939ee
--- /dev/null
+++ b/t/recipes/checks/files/source-missing/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/lilypond.texi
@@ -0,0 +1,6 @@
+Permission is granted to copy, distribute and/or modify this document
+under the terms of the GNU Free Documentation License, Version 1.1
+or any later version published by the Free Software Foundation;
+with no Invariant Sections.
+A copy of the license is included in the section entitled ``GNU
+Free Documentation License''.
diff --git a/t/recipes/checks/files/source-missing/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/lilypond2.txt b/t/recipes/checks/files/source-missing/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/lilypond2.txt
new file mode 100644
index 0000000..4e66d64
--- /dev/null
+++ b/t/recipes/checks/files/source-missing/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/lilypond2.txt
@@ -0,0 +1,19 @@
+Permission is granted to copy, distribute and/or modify the
+documentation for GNU LilyPond under the terms of the GNU Free
+Documentation License as published by the Free Software Foundation,
+either version 1.3, or (at your option) any later version; with no
+Invariant Sections, no Front-Cover Texts and no Back-Cover Texts.
+
+A copy of the license is contained in the file COPYING.FDL.
+
+The following exceptions apply:
+
+ * It does not apply to input files (contained in the
+ directory tree Documentation/snippets/); these are in
+ the public domain.
+
+ * It does not apply to any manual which explicitly states
+ another license.
+
+ * It does not apply to the MusicXML unit test suite,
+ which is licensed under the MIT license.
diff --git a/t/recipes/checks/files/source-missing/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/mailutils.texi b/t/recipes/checks/files/source-missing/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/mailutils.texi
new file mode 100644
index 0000000..dffaccc
--- /dev/null
+++ b/t/recipes/checks/files/source-missing/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/mailutils.texi
@@ -0,0 +1,6 @@
+Permission is granted to copy, distribute and/or modify this document
+under the terms of the GNU Free Documentation License, Version 1.2 or
+any later version published by the Free Software Foundation; with no
+Invariant Sections, no Front-Cover, and no Back-Cover texts.
+A copy of the license is included in the section entitled ``GNU Free
+Documentation License''.
diff --git a/t/recipes/checks/files/source-missing/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/maintain.html b/t/recipes/checks/files/source-missing/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/maintain.html
new file mode 100644
index 0000000..e1fd5a2
--- /dev/null
+++ b/t/recipes/checks/files/source-missing/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/maintain.html
@@ -0,0 +1,28 @@
+<html>
+<body>
+<p>Documentation files should have license notices also. Manuals should
+use the GNU Free Documentation License. Following is an example of the
+license notice to use after the copyright line(s) using all the
+features of the GFDL.
+</p>
+<div class="smallexample">
+<pre class="smallexample">Permission is granted to copy, distribute and/or modify this document
+under the terms of the GNU Free Documentation License, Version 1.3 or
+any later version published by the Free Software Foundation; with the
+Invariant Sections being ``GNU General Public License'', with the
+Front-Cover Texts being ``A GNU Manual'', and with the Back-Cover Texts
+as in (a) below. A copy of the license is included in the section
+entitled ``GNU Free Documentation License''.
+
+(a) The FSF's Back-Cover Text is: ``You have the freedom to
+copy and modify this GNU manual. Buying copies from the FSF
+supports it in developing GNU and promoting software freedom.''
+</pre></div>
+
+<p>If the FSF does not publish this manual on paper, then omit the last
+sentence in (a) that talks about copies from GNU Press. If the FSF is
+not the copyright holder, then replace &lsquo;<samp>FSF</samp>&rsquo; with the appropriate
+name.
+</p>
+</body>
+</html>
diff --git a/t/recipes/checks/files/source-missing/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/maintain.texi b/t/recipes/checks/files/source-missing/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/maintain.texi
new file mode 100644
index 0000000..633e758
--- /dev/null
+++ b/t/recipes/checks/files/source-missing/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/maintain.texi
@@ -0,0 +1,13 @@
+Documentation files should have license notices also. Manuals should
+use the GNU Free Documentation License. Following is an example of the
+license notice to use after the copyright line(s) using all the
+features of the GFDL.
+
+@smallexample
+Permission is granted to copy, distribute and/or modify this document
+under the terms of the GNU Free Documentation License, Version 1.3 or
+any later version published by the Free Software Foundation; with the
+Invariant Sections being ``GNU General Public License'', with the
+Front-Cover Texts being ``A GNU Manual'', and with the Back-Cover Texts
+as in (a) below. A copy of the license is included in the section
+entitled ``GNU Free Documentation License''.
diff --git a/t/recipes/checks/files/source-missing/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/make-stds.texi b/t/recipes/checks/files/source-missing/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/make-stds.texi
new file mode 100644
index 0000000..b5c2685
--- /dev/null
+++ b/t/recipes/checks/files/source-missing/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/make-stds.texi
@@ -0,0 +1,7 @@
+@c Permission is granted to copy, distribute and/or modify this document
+@c under the terms of the GNU Free Documentation License, Version 1.1
+@c or any later version published by the Free Software Foundation;
+@c with no Invariant Sections, with no
+@c Front-Cover Texts, and with no Back-Cover Texts.
+@c A copy of the license is included in the section entitled ``GNU
+@c Free Documentation License''.
diff --git a/t/recipes/checks/files/source-missing/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/normal.c b/t/recipes/checks/files/source-missing/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/normal.c
new file mode 100644
index 0000000..a58e927
--- /dev/null
+++ b/t/recipes/checks/files/source-missing/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/normal.c
@@ -0,0 +1,13 @@
+ /*****************************************************************************/
+/** \mainpage Cal3D API Reference
+ * <center>
+ * <p>
+ * Permission is granted to copy, distribute and/or modify this document
+ * under the terms of the GNU Free Documentation License, Version 1.1 or
+ * any later version published by the Free Software Foundation;
+ * with no Invariant Sections, no Front-Cover Texts and
+ * no Back-Cover Texts;
+ * A copy of the license is included in the section entitled
+ * \link license "GNU Free Documentation License" \endlink .
+ * </center>
+ *****************************************************************************/
diff --git a/t/recipes/checks/files/source-missing/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/normal.texi b/t/recipes/checks/files/source-missing/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/normal.texi
new file mode 100644
index 0000000..d9c1b54
--- /dev/null
+++ b/t/recipes/checks/files/source-missing/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/normal.texi
@@ -0,0 +1,6 @@
+Permission is granted to copy, distribute and/or modify this
+document under the terms of the GNU Free Documentation License,
+version 1.3 or any later version published by the Free Software
+Foundation; with no Invariant Sections, no Front-Cover Texts and
+no Back-Cover Texts. A copy of the license is included in the
+section entitled "GNU Free Documentation License".
diff --git a/t/recipes/checks/files/source-missing/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/normalbkchem.texi b/t/recipes/checks/files/source-missing/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/normalbkchem.texi
new file mode 100644
index 0000000..dd888e2
--- /dev/null
+++ b/t/recipes/checks/files/source-missing/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/normalbkchem.texi
@@ -0,0 +1,6 @@
+Permission is granted to copy, distribute and/or modify this
+document under the terms of the GNU Free Documentation License,
+version 1.3 or any later version published by the Free Software
+Foundation; no Invariant Sections, no Front-Cover Texts,
+no Back-Cover Texts. A copy of the license is included in the
+section entitled "GNU Free Documentation License".
diff --git a/t/recipes/checks/files/source-missing/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/normalhtmlcomment.html b/t/recipes/checks/files/source-missing/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/normalhtmlcomment.html
new file mode 100644
index 0000000..747d2e0
--- /dev/null
+++ b/t/recipes/checks/files/source-missing/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/normalhtmlcomment.html
@@ -0,0 +1,9 @@
+<html>
+<body>
+<!-- Permission is granted to copy, distribute and/or modify this document -->
+<!-- under the terms of the GNU Free Documentation License, Version 1.3 or -->
+<!-- any later version published by the Free Software Foundation; with no -->
+<!-- Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts. -->
+<!-- a copy of the license is included under /home -->
+</body>
+</html>
diff --git a/t/recipes/checks/files/source-missing/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/normalmancomment.txt b/t/recipes/checks/files/source-missing/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/normalmancomment.txt
new file mode 100644
index 0000000..f33dfcd
--- /dev/null
+++ b/t/recipes/checks/files/source-missing/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/normalmancomment.txt
@@ -0,0 +1,7 @@
+.\" manual page for blaze, a command wrapper for BlazeBlogger
+.\"
+.\" Permission is granted to copy, distribute and/or modify this document
+.\" under the terms of the GNU Free Documentation License, Version 1.3 or
+.\" any later version published by the Free Software Foundation; with no
+.\" Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts.
+.\" A copy of the license is included below. \ No newline at end of file
diff --git a/t/recipes/checks/files/source-missing/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/normalwithbreakathyphen.texi b/t/recipes/checks/files/source-missing/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/normalwithbreakathyphen.texi
new file mode 100644
index 0000000..22ae575
--- /dev/null
+++ b/t/recipes/checks/files/source-missing/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/normalwithbreakathyphen.texi
@@ -0,0 +1,8 @@
+Permission is granted to copy, distribute and/or modify this
+document under the terms of the GNU Free Documentation License,
+version 1.3 or any later version published by the Free Software
+Foundation; with no Invariant Sections, no Front-
+Cover Texts and
+no Back-
+Cover Texts. A copy of the license is included in the
+section entitled "GNU Free Documentation License".
diff --git a/t/recipes/checks/files/source-missing/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/oidentd.8 b/t/recipes/checks/files/source-missing/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/oidentd.8
new file mode 100644
index 0000000..5a4df93
--- /dev/null
+++ b/t/recipes/checks/files/source-missing/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/oidentd.8
@@ -0,0 +1,9 @@
+.\" Copyright (C) XXX
+.\"
+.\" Permission is granted to copy, distribute and/or modify this document
+.\" under the terms of the GNU Free Documentation License, Version 1.1
+.\" or any later version published by the Free Software Foundation;
+.\" with the Invariant Sections being no invariant sections, with the
+.\" Front-Cover Texts being no front-cover texts, and with the Back-Cover
+.\" Texts being no back-cover texts. A copy of the license is included with
+.\" this package in the file "COPYING.DOC." \ No newline at end of file
diff --git a/t/recipes/checks/files/source-missing/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/opentoken.txt b/t/recipes/checks/files/source-missing/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/opentoken.txt
new file mode 100644
index 0000000..3241276
--- /dev/null
+++ b/t/recipes/checks/files/source-missing/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/opentoken.txt
@@ -0,0 +1,5 @@
+Permission is granted to copy, distribute and/or modify this document
+under the terms of the GNU Free Documentation License, Version 1.3 or
+any later version published by the Free Software Foundation; with no
+Invariant Sections, Front-Cover or Back-Cover texts. A copy of the license
+is included in the section entitled ``GNU Free Documentation License''. \ No newline at end of file
diff --git a/t/recipes/checks/files/source-missing/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/parsewiki.txt b/t/recipes/checks/files/source-missing/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/parsewiki.txt
new file mode 100644
index 0000000..950d936
--- /dev/null
+++ b/t/recipes/checks/files/source-missing/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/parsewiki.txt
@@ -0,0 +1,4 @@
+Permission is granted to copy, distribute and/or modify this document under \
+the terms of the GNU Free Documentation License, Version 1.1 or any later \
+version published by the Free Software Foundation; without any Invariant \
+Sections. A copy of the license is included in the file GFDL.
diff --git a/t/recipes/checks/files/source-missing/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/partedvariant.txt b/t/recipes/checks/files/source-missing/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/partedvariant.txt
new file mode 100644
index 0000000..96037ac
--- /dev/null
+++ b/t/recipes/checks/files/source-missing/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/partedvariant.txt
@@ -0,0 +1,8 @@
+Parted 2.13 version with strange grammar.
+
+Permission is granted to copy, distribute and/or modify this document
+under the terms of the GNU Free Documentation License, Version 1.3
+or any later version published by the Free Software Foundation;
+with the no Invariant Sections, with the no Front-Cover Texts, and
+with no Back-Cover Texts. A copy of the license is included in the
+file, COPYING.DOC.
diff --git a/t/recipes/checks/files/source-missing/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/partialtranslation.po b/t/recipes/checks/files/source-missing/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/partialtranslation.po
new file mode 100644
index 0000000..f1d17a5
--- /dev/null
+++ b/t/recipes/checks/files/source-missing/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/partialtranslation.po
@@ -0,0 +1,15 @@
+<para>För att använda GNU Free Documentation License för ett dokument du har skrivit, inkludera en kopia av licensen [det engelska originalet] i dokumentet och placera följande copyrightklausul omedelbart efter titelsidan:</para>
+
+<blockquote>
+ <para>
+ Permission is granted to copy, distribute and/or modify this
+ document under the terms of the GNU Free Documentation
+ License, Version 1.1 or any later version published by the
+ Free Software Foundation; with the <link linkend="fdl-invariant">Invariant Sections</link> being LIST
+ THEIR TITLES, with the <link linkend="fdl-cover-texts">Front-Cover Texts</link> being LIST,
+ and with the <link linkend="fdl-cover-texts">Back-Cover
+ Texts</link> being LIST. A copy of the license is included in
+ the section entitled <quote>GNU Free Documentation
+ License</quote>.
+ </para>
+</blockquote>
diff --git a/t/recipes/checks/files/source-missing/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/patch-R.diff b/t/recipes/checks/files/source-missing/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/patch-R.diff
new file mode 100644
index 0000000..73e379b
--- /dev/null
+++ b/t/recipes/checks/files/source-missing/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/patch-R.diff
@@ -0,0 +1,7 @@
+1,6d0
+< Permission is granted to copy, distribute and/or modify this
+< document under the terms of the GNU Free Documentation License,
+< version 1.3 or any later version published by the Free Software
+< Foundation; with no Invariant Sections, no Front-Cover Texts and
+< no Back-Cover Texts. A copy of the license is included in the
+< section entitled "GNU Free Documentation License".
diff --git a/t/recipes/checks/files/source-missing/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/patch-c0.diff b/t/recipes/checks/files/source-missing/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/patch-c0.diff
new file mode 100644
index 0000000..600653e
--- /dev/null
+++ b/t/recipes/checks/files/source-missing/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/patch-c0.diff
@@ -0,0 +1,18 @@
+*** make-stds.texi 2013-02-17 21:44:05.485250349 +0100
+--- normal.texi 2012-12-20 21:23:22.829397718 +0100
+***************
+*** 1,7 ****
+! @c Permission is granted to copy, distribute and/or modify this document
+! @c under the terms of the GNU Free Documentation License, Version 1.1
+! @c or any later version published by the Free Software Foundation;
+! @c with no Invariant Sections, with no
+! @c Front-Cover Texts, and with no Back-Cover Texts.
+! @c A copy of the license is included in the section entitled ``GNU
+! @c Free Documentation License''.
+--- 1,6 ----
+! Permission is granted to copy, distribute and/or modify this
+! document under the terms of the GNU Free Documentation License,
+! version 1.3 or any later version published by the Free Software
+! Foundation; with no Invariant Sections, no Front-Cover Texts and
+! no Back-Cover Texts. A copy of the license is included in the
+! section entitled "GNU Free Documentation License".
diff --git a/t/recipes/checks/files/source-missing/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/patch-u.diff b/t/recipes/checks/files/source-missing/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/patch-u.diff
new file mode 100644
index 0000000..db6e4f9
--- /dev/null
+++ b/t/recipes/checks/files/source-missing/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/patch-u.diff
@@ -0,0 +1,9 @@
+--- /dev/null 2013-05-15 23:18:30.206386135 +0200
++++ normal.texi 2012-12-20 21:23:22.829397718 +0100
+@@ -0,0 +1,6 @@
++Permission is granted to copy, distribute and/or modify this
++document under the terms of the GNU Free Documentation License,
++version 1.3 or any later version published by the Free Software
++Foundation; with no Invariant Sections, no Front-Cover Texts and
++no Back-Cover Texts. A copy of the license is included in the
++section entitled "GNU Free Documentation License".
diff --git a/t/recipes/checks/files/source-missing/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/patch-uR.diff b/t/recipes/checks/files/source-missing/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/patch-uR.diff
new file mode 100644
index 0000000..347adff
--- /dev/null
+++ b/t/recipes/checks/files/source-missing/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/patch-uR.diff
@@ -0,0 +1,9 @@
+--- normal.texi 2012-12-20 21:23:22.829397718 +0100
++++ /dev/null 2013-05-15 23:18:30.206386135 +0200
+@@ -1,6 +0,0 @@
+-Permission is granted to copy, distribute and/or modify this
+-document under the terms of the GNU Free Documentation License,
+-version 1.3 or any later version published by the Free Software
+-Foundation; with no Invariant Sections, no Front-Cover Texts and
+-no Back-Cover Texts. A copy of the license is included in the
+-section entitled "GNU Free Documentation License".
diff --git a/t/recipes/checks/files/source-missing/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/patch.diff b/t/recipes/checks/files/source-missing/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/patch.diff
new file mode 100644
index 0000000..f64bfaf
--- /dev/null
+++ b/t/recipes/checks/files/source-missing/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/patch.diff
@@ -0,0 +1,7 @@
+0a1,6
+> Permission is granted to copy, distribute and/or modify this
+> document under the terms of the GNU Free Documentation License,
+> version 1.3 or any later version published by the Free Software
+> Foundation; with no Invariant Sections, no Front-Cover Texts and
+> no Back-Cover Texts. A copy of the license is included in the
+> section entitled "GNU Free Documentation License".
diff --git a/t/recipes/checks/files/source-missing/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/php-elisp.texi b/t/recipes/checks/files/source-missing/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/php-elisp.texi
new file mode 100644
index 0000000..2ab3103
--- /dev/null
+++ b/t/recipes/checks/files/source-missing/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/php-elisp.texi
@@ -0,0 +1,19 @@
+@copying
+This manual documents PHP mode version @value{version} for
+use with GNU Emacs.
+
+Copyright @copyright{} 2008 Aaron S. Hawley
+
+@quotation
+Permission is granted to copy, distribute and/or modify this
+document under the terms of the GNU Free Documentation
+License, Version 1.2 or any later version published by the
+Free Software Foundation; with no Invariant Sections, and no
+Cover Texts. A copy of the license is included in the
+section entitled ``Copying This Manual.''
+
+A copy of the license is also available from the Free
+Software Foundation Web site at
+@url{http://www.gnu.org/licenses/fdl.html}.
+
+@end quotation \ No newline at end of file
diff --git a/t/recipes/checks/files/source-missing/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/pipeindent.txt b/t/recipes/checks/files/source-missing/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/pipeindent.txt
new file mode 100644
index 0000000..8a0594a
--- /dev/null
+++ b/t/recipes/checks/files/source-missing/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/pipeindent.txt
@@ -0,0 +1,7 @@
+Some user ident with pipe (|)
+ | Permission is granted to copy, distribute and/or modify this
+ | document under the terms of the GNU Free Documentation License,
+ | version 1.3 or any later version published by the Free Software
+ | Foundation; with no Invariant Sections, no Front-Cover Texts and
+ | no Back-Cover Texts. A copy of the license is included in the
+ | section entitled "GNU Free Documentation License".
diff --git a/t/recipes/checks/files/source-missing/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/quotes.xml b/t/recipes/checks/files/source-missing/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/quotes.xml
new file mode 100644
index 0000000..58edd5b
--- /dev/null
+++ b/t/recipes/checks/files/source-missing/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/quotes.xml
@@ -0,0 +1,8 @@
+Permission is granted to copy, distribute and/or modify this
+document under the terms of the GNU Free Documentation
+License, Version 1.2 or any later version published by the
+Free Software Foundation; with no Invariant Sections, no
+Front-Cover Texts, and no <quote>Back-Cover Texts</quote>.
+A copy of the license
+is included in the section entitled "GNU Free Documentation
+License". \ No newline at end of file
diff --git a/t/recipes/checks/files/source-missing/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/quoteswithasdefined.xml b/t/recipes/checks/files/source-missing/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/quoteswithasdefined.xml
new file mode 100644
index 0000000..112c734
--- /dev/null
+++ b/t/recipes/checks/files/source-missing/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/quoteswithasdefined.xml
@@ -0,0 +1,9 @@
+Permission is granted to copy, distribute and/or modify this
+document under the terms of the GNU Free Documentation
+License, Version 1.2 or any later version published by the
+Free Software Foundation;
+with no <quote>invariant sections</quote>, <quote>front-cover texts</quote> or <quote>back-cover texts</quote>,
+each as defined in the license.
+A copy of the license
+is included in the section entitled "GNU Free Documentation
+License". \ No newline at end of file
diff --git a/t/recipes/checks/files/source-missing/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/sdlbasic.html b/t/recipes/checks/files/source-missing/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/sdlbasic.html
new file mode 100644
index 0000000..ff31741
--- /dev/null
+++ b/t/recipes/checks/files/source-missing/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/sdlbasic.html
@@ -0,0 +1,11 @@
+<div style="text-align: justify;"><span class="text">
+Permission is granted to copy, distribute
+and/or modify this document under the terms of the GNU Free
+Documentation License, Version 1.2 or any later version published by
+the Free Software Foundation; with no Invariant Sections Texts.</span><br>
+
+
+<span class="text">A copy of the license is included here below.</span><br>
+
+
+</div>
diff --git a/t/recipes/checks/files/source-missing/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/smbc.texi b/t/recipes/checks/files/source-missing/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/smbc.texi
new file mode 100644
index 0000000..c803dc5
--- /dev/null
+++ b/t/recipes/checks/files/source-missing/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/smbc.texi
@@ -0,0 +1,9 @@
+@quotation
+Permission is granted to copy, distribute and/or modify this document
+under the terms of the GNU Free Documentation License, Version 1.1 or
+any later version published by the Free Software Foundation; with the
+Invariant Sections being ``GNU General Public License'' and ``GNU Free
+Documentation License'', with no Front-Cover Texts, and with no
+Back-Cover Texts. A copy of the license is included in the section
+entitled ``GNU Free Documentation License''.
+@end quotation \ No newline at end of file
diff --git a/t/recipes/checks/files/source-missing/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/soundjuicer.po b/t/recipes/checks/files/source-missing/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/soundjuicer.po
new file mode 100644
index 0000000..e0a41a6
--- /dev/null
+++ b/t/recipes/checks/files/source-missing/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/soundjuicer.po
@@ -0,0 +1,8 @@
+#~ "Permission is granted to copy, distribute and/or modify this document "
+#~ "under the terms of the GNU Free Documentation License, Version 1.1 or any "
+#~ "later version published by the Free Software Foundation; with the <link "
+#~ "linkend=\"fdl-invariant\">Invariant Sections</link> being LIST THEIR "
+#~ "TITLES, with the <link linkend=\"fdl-cover-texts\">Front-Cover Texts</"
+#~ "link> being LIST, and with the <link linkend=\"fdl-cover-texts\">Back-"
+#~ "Cover Texts</link> being LIST. A copy of the license is included in the "
+#~ "section entitled <quote>GNU Free Documentation License</quote>." \ No newline at end of file
diff --git a/t/recipes/checks/files/source-missing/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/texignu.texi b/t/recipes/checks/files/source-missing/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/texignu.texi
new file mode 100644
index 0000000..9327024
--- /dev/null
+++ b/t/recipes/checks/files/source-missing/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/texignu.texi
@@ -0,0 +1,6 @@
+Permission is granted to copy, distribute and/or modify this document
+under the terms of the @acronym{GNU} Free Documentation License,
+Version 1.3 or any later version published by the Free Software
+Foundation; with no Invariant Sections, with no Front-Cover texts
+and with no Back-Cover Texts. A copy of the license is included in the section entitled
+``@acronym{GNU} Free Documentation License.''
diff --git a/t/recipes/checks/files/source-missing/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/texlive.tex b/t/recipes/checks/files/source-missing/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/texlive.tex
new file mode 100644
index 0000000..b6e1240
--- /dev/null
+++ b/t/recipes/checks/files/source-missing/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/texlive.tex
@@ -0,0 +1,8 @@
+% note the end is not classical...
+% Copyright (c) 2002--2004 Philipp Lehman
+% Permission is granted to copy, distribute and/or modify this document under
+% the terms of the GNU Free Documentation License, version 1.2, with no
+% invariant sections, with no front-cover texts, and no back-cover texts. This
+% document is distributed in the hope that it will be useful, but without any
+% warranty; without even the implied warranty of merchantability or fitness for
+% a particular purpose.
diff --git a/t/recipes/checks/files/source-missing/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/texlivefont.tex b/t/recipes/checks/files/source-missing/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/texlivefont.tex
new file mode 100644
index 0000000..d4b872c
--- /dev/null
+++ b/t/recipes/checks/files/source-missing/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/texlivefont.tex
@@ -0,0 +1,6 @@
+Copyright © 2002--2004 Philipp Lehman
+
+Permission is granted to copy, distribute and\slash or modify this document under the terms of the GNU Free Documentation License, version 1.2, with no invariant sections, no front-cover texts, and no back-cover texts.
+
+A copy of the license is included in the appendix.
+
diff --git a/t/recipes/checks/files/source-missing/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/tla.txt b/t/recipes/checks/files/source-missing/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/tla.txt
new file mode 100644
index 0000000..2043b26
--- /dev/null
+++ b/t/recipes/checks/files/source-missing/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/tla.txt
@@ -0,0 +1,21 @@
+/*
+ * :permissions ("Permission is granted to copy, distribute and/or modify this document"
+ * "under the terms of the GNU Free Documentation License, Version 1.1"
+ * "or any later version published by the Free Software Foundation;"
+ * "with the Invariant Sections being:"
+ * ""
+ * " The GNU General Public License"
+ * " The GNU Free Documentation License"
+ * ""
+ * "with the Front-Cover Texts being"
+ * ""
+ * " (none),"
+ * ""
+ * "and with the Back-Cover Texts being"
+ * ""
+ * " (none)."
+ * ""
+ * "A copy of the license is included in the section entitled \"GNU"
+ * "Free Documentation License\"."))
+ *
+ */ \ No newline at end of file
diff --git a/t/recipes/checks/files/source-missing/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/ulink.xml b/t/recipes/checks/files/source-missing/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/ulink.xml
new file mode 100644
index 0000000..6f634a6
--- /dev/null
+++ b/t/recipes/checks/files/source-missing/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/ulink.xml
@@ -0,0 +1,7 @@
+Permission is granted to copy, distribute and/or modify this
+document under the terms of the <ulink url="http://www.gnu.org/licenses/fdl.html">GNU Free Documentation
+License</ulink>, Version 1.2 or any later version published by the
+Free Software Foundation; with no Invariant Sections, no
+Front-Cover Texts, and no Back-Cover Texts. A copy of the license
+is included in the section entitled "GNU Free Documentation
+License". \ No newline at end of file
diff --git a/t/recipes/checks/files/source-missing/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/variantdictfold.txt b/t/recipes/checks/files/source-missing/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/variantdictfold.txt
new file mode 100644
index 0000000..8463a59
--- /dev/null
+++ b/t/recipes/checks/files/source-missing/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/variantdictfold.txt
@@ -0,0 +1,7 @@
+This is ok
+ Permission is granted to copy, distribute and/or modify this
+ document under the terms of the GNU Free Documentation
+ License, Version 1.1 or any later version published by the
+ Free Software Foundation; with no Invariant Sections, Front-
+ or Back-Cover Texts. A copy of the license is included in the
+ section entitled "{GNU Free Documentation License}".
diff --git a/t/recipes/checks/files/source-missing/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/zeroisnotplural.texi b/t/recipes/checks/files/source-missing/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/zeroisnotplural.texi
new file mode 100644
index 0000000..8782eed
--- /dev/null
+++ b/t/recipes/checks/files/source-missing/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/zeroisnotplural.texi
@@ -0,0 +1,6 @@
+Permission is granted to copy, distribute and/or modify this
+document under the terms of the GNU Free Documentation License,
+version 1.3 or any later version published by the Free Software
+Foundation; with no Invariant Section, no Front-Cover Text and
+no Back-Cover Text. A copy of the license is included in the
+section entitled "GNU Free Documentation License".
diff --git a/t/recipes/checks/files/source-missing/cruft-gfdl-invariants/build-spec/orig/src/oldmanpagesgfdlproblem.1 b/t/recipes/checks/files/source-missing/cruft-gfdl-invariants/build-spec/orig/src/oldmanpagesgfdlproblem.1
new file mode 100644
index 0000000..83a4acf
--- /dev/null
+++ b/t/recipes/checks/files/source-missing/cruft-gfdl-invariants/build-spec/orig/src/oldmanpagesgfdlproblem.1
@@ -0,0 +1,12 @@
+.\"
+.\" Manpage example
+.\"
+.PP
+Permission is granted to copy, distribute and/or modify this document
+under the terms of the \s-1GNU\s0 Free Documentation License, Version 1.2 or
+any later version published by the Free Software Foundation; with the
+Invariant Sections being \*(L"\s-1GNU\s0 General Public License\*(R" and \*(L"Funding
+Free Software\*(R", the Front-Cover texts being (a) (see below), and with
+the Back-Cover Texts being (b) (see below). A copy of the license is
+included in the \fIgfdl\fR\|(7) man page.
+.PP
diff --git a/t/recipes/checks/files/source-missing/cruft-gfdl-invariants/eval/desc b/t/recipes/checks/files/source-missing/cruft-gfdl-invariants/eval/desc
new file mode 100644
index 0000000..81c81d8
--- /dev/null
+++ b/t/recipes/checks/files/source-missing/cruft-gfdl-invariants/eval/desc
@@ -0,0 +1,2 @@
+Testname: cruft-gfdl-invariants
+Check: files/source-missing
diff --git a/t/recipes/checks/files/source-missing/cruft-gfdl-invariants/eval/hints b/t/recipes/checks/files/source-missing/cruft-gfdl-invariants/eval/hints
new file mode 100644
index 0000000..a7e587c
--- /dev/null
+++ b/t/recipes/checks/files/source-missing/cruft-gfdl-invariants/eval/hints
@@ -0,0 +1 @@
+cruft-gfdl-invariants (source): source-is-missing [src/oldfalsepositive/fontsMX.html]
diff --git a/t/recipes/checks/files/source-missing/cruft-minified-js/build-spec/debian/install b/t/recipes/checks/files/source-missing/cruft-minified-js/build-spec/debian/install
new file mode 100644
index 0000000..1b91047
--- /dev/null
+++ b/t/recipes/checks/files/source-missing/cruft-minified-js/build-spec/debian/install
@@ -0,0 +1 @@
+usr/
diff --git a/t/recipes/checks/files/source-missing/cruft-minified-js/build-spec/debian/missing-sources/json.js b/t/recipes/checks/files/source-missing/cruft-minified-js/build-spec/debian/missing-sources/json.js
new file mode 100644
index 0000000..9a338bf
--- /dev/null
+++ b/t/recipes/checks/files/source-missing/cruft-minified-js/build-spec/debian/missing-sources/json.js
@@ -0,0 +1,529 @@
+/*
+ json.js
+ 2012-10-08
+
+ Public Domain
+
+ No warranty expressed or implied. Use at your own risk.
+
+ This file has been superceded by http://www.JSON.org/json2.js
+
+ See http://www.JSON.org/js.html
+
+ This code should be minified before deployment.
+ See http://javascript.crockford.com/jsmin.html
+
+ USE YOUR OWN COPY. IT IS EXTREMELY UNWISE TO LOAD CODE FROM SERVERS YOU DO
+ NOT CONTROL.
+
+ This file adds these methods to JavaScript:
+
+ object.toJSONString(whitelist)
+ This method produce a JSON text from a JavaScript value.
+ It must not contain any cyclical references. Illegal values
+ will be excluded.
+
+ The default conversion for dates is to an ISO string. You can
+ add a toJSONString method to any date object to get a different
+ representation.
+
+ The object and array methods can take an optional whitelist
+ argument. A whitelist is an array of strings. If it is provided,
+ keys in objects not found in the whitelist are excluded.
+
+ string.parseJSON(filter)
+ This method parses a JSON text to produce an object or
+ array. It can throw a SyntaxError exception.
+
+ The optional filter parameter is a function which can filter and
+ transform the results. It receives each of the keys and values, and
+ its return value is used instead of the original value. If it
+ returns what it received, then structure is not modified. If it
+ returns undefined then the member is deleted.
+
+ Example:
+
+ // Parse the text. If a key contains the string 'date' then
+ // convert the value to a date.
+
+ myData = text.parseJSON(function (key, value) {
+ return key.indexOf('date') >= 0 ? new Date(value) : value;
+ });
+
+ This file will break programs with improper for..in loops. See
+ http://yuiblog.com/blog/2006/09/26/for-in-intrigue/
+
+ This file creates a global JSON object containing two methods: stringify
+ and parse.
+
+ JSON.stringify(value, replacer, space)
+ value any JavaScript value, usually an object or array.
+
+ replacer an optional parameter that determines how object
+ values are stringified for objects. It can be a
+ function or an array of strings.
+
+ space an optional parameter that specifies the indentation
+ of nested structures. If it is omitted, the text will
+ be packed without extra whitespace. If it is a number,
+ it will specify the number of spaces to indent at each
+ level. If it is a string (such as '\t' or '&nbsp;'),
+ it contains the characters used to indent at each level.
+
+ This method produces a JSON text from a JavaScript value.
+
+ When an object value is found, if the object contains a toJSON
+ method, its toJSON method will be called and the result will be
+ stringified. A toJSON method does not serialize: it returns the
+ value represented by the name/value pair that should be serialized,
+ or undefined if nothing should be serialized. The toJSON method
+ will be passed the key associated with the value, and this will be
+ bound to the object holding the key.
+
+ For example, this would serialize Dates as ISO strings.
+
+ Date.prototype.toJSON = function (key) {
+ function f(n) {
+ // Format integers to have at least two digits.
+ return n < 10 ? '0' + n : n;
+ }
+
+ return this.getUTCFullYear() + '-' +
+ f(this.getUTCMonth() + 1) + '-' +
+ f(this.getUTCDate()) + 'T' +
+ f(this.getUTCHours()) + ':' +
+ f(this.getUTCMinutes()) + ':' +
+ f(this.getUTCSeconds()) + 'Z';
+ };
+
+ You can provide an optional replacer method. It will be passed the
+ key and value of each member, with this bound to the containing
+ object. The value that is returned from your method will be
+ serialized. If your method returns undefined, then the member will
+ be excluded from the serialization.
+
+ If the replacer parameter is an array of strings, then it will be
+ used to select the members to be serialized. It filters the results
+ such that only members with keys listed in the replacer array are
+ stringified.
+
+ Values that do not have JSON representations, such as undefined or
+ functions, will not be serialized. Such values in objects will be
+ dropped; in arrays they will be replaced with null. You can use
+ a replacer function to replace those with JSON values.
+ JSON.stringify(undefined) returns undefined.
+
+ The optional space parameter produces a stringification of the
+ value that is filled with line breaks and indentation to make it
+ easier to read.
+
+ If the space parameter is a non-empty string, then that string will
+ be used for indentation. If the space parameter is a number, then
+ the indentation will be that many spaces.
+
+ Example:
+
+ text = JSON.stringify(['e', {pluribus: 'unum'}]);
+ // text is '["e",{"pluribus":"unum"}]'
+
+
+ text = JSON.stringify(['e', {pluribus: 'unum'}], null, '\t');
+ // text is '[\n\t"e",\n\t{\n\t\t"pluribus": "unum"\n\t}\n]'
+
+ text = JSON.stringify([new Date()], function (key, value) {
+ return this[key] instanceof Date ?
+ 'Date(' + this[key] + ')' : value;
+ });
+ // text is '["Date(---current time---)"]'
+
+
+ JSON.parse(text, reviver)
+ This method parses a JSON text to produce an object or array.
+ It can throw a SyntaxError exception.
+
+ The optional reviver parameter is a function that can filter and
+ transform the results. It receives each of the keys and values,
+ and its return value is used instead of the original value.
+ If it returns what it received, then the structure is not modified.
+ If it returns undefined then the member is deleted.
+
+ Example:
+
+ // Parse the text. Values that look like ISO date strings will
+ // be converted to Date objects.
+
+ myData = JSON.parse(text, function (key, value) {
+ var a;
+ if (typeof value === 'string') {
+ a =
+/^(\d{4})-(\d{2})-(\d{2})T(\d{2}):(\d{2}):(\d{2}(?:\.\d*)?)Z$/.exec(value);
+ if (a) {
+ return new Date(Date.UTC(+a[1], +a[2] - 1, +a[3], +a[4],
+ +a[5], +a[6]));
+ }
+ }
+ return value;
+ });
+
+ myData = JSON.parse('["Date(09/09/2001)"]', function (key, value) {
+ var d;
+ if (typeof value === 'string' &&
+ value.slice(0, 5) === 'Date(' &&
+ value.slice(-1) === ')') {
+ d = new Date(value.slice(5, -1));
+ if (d) {
+ return d;
+ }
+ }
+ return value;
+ });
+
+
+ This is a reference implementation. You are free to copy, modify, or
+ redistribute.
+*/
+
+/*jslint evil: true, regexp: true, unparam: true */
+
+/*members "", "\b", "\t", "\n", "\f", "\r", "\"", JSON, "\\", apply,
+ call, charCodeAt, getUTCDate, getUTCFullYear, getUTCHours,
+ getUTCMinutes, getUTCMonth, getUTCSeconds, hasOwnProperty, join,
+ lastIndex, length, parse, parseJSON, prototype, push, replace, slice,
+ stringify, test, toJSON, toJSONString, toString, valueOf
+*/
+
+
+// Create a JSON object only if one does not already exist. We create the
+// methods in a closure to avoid creating global variables.
+
+if (typeof JSON !== 'object') {
+ JSON = {};
+}
+
+(function () {
+ 'use strict';
+
+ function f(n) {
+ // Format integers to have at least two digits.
+ return n < 10 ? '0' + n : n;
+ }
+
+ if (typeof Date.prototype.toJSON !== 'function') {
+
+ Date.prototype.toJSON = function (key) {
+
+ return isFinite(this.valueOf()) ?
+ this.getUTCFullYear() + '-' +
+ f(this.getUTCMonth() + 1) + '-' +
+ f(this.getUTCDate()) + 'T' +
+ f(this.getUTCHours()) + ':' +
+ f(this.getUTCMinutes()) + ':' +
+ f(this.getUTCSeconds()) + 'Z' : null;
+ };
+
+ String.prototype.toJSON =
+ Number.prototype.toJSON =
+ Boolean.prototype.toJSON = function (key) {
+ return this.valueOf();
+ };
+ }
+
+ var cx = /[\u0000\u00ad\u0600-\u0604\u070f\u17b4\u17b5\u200c-\u200f\u2028-\u202f\u2060-\u206f\ufeff\ufff0-\uffff]/g,
+ escapable = /[\\\"\x00-\x1f\x7f-\x9f\u00ad\u0600-\u0604\u070f\u17b4\u17b5\u200c-\u200f\u2028-\u202f\u2060-\u206f\ufeff\ufff0-\uffff]/g,
+ gap,
+ indent,
+ meta = { // table of character substitutions
+ '\b': '\\b',
+ '\t': '\\t',
+ '\n': '\\n',
+ '\f': '\\f',
+ '\r': '\\r',
+ '"' : '\\"',
+ '\\': '\\\\'
+ },
+ rep;
+
+
+ function quote(string) {
+
+// If the string contains no control characters, no quote characters, and no
+// backslash characters, then we can safely slap some quotes around it.
+// Otherwise we must also replace the offending characters with safe escape
+// sequences.
+
+ escapable.lastIndex = 0;
+ return escapable.test(string) ? '"' + string.replace(escapable, function (a) {
+ var c = meta[a];
+ return typeof c === 'string' ? c :
+ '\\u' + ('0000' + a.charCodeAt(0).toString(16)).slice(-4);
+ }) + '"' : '"' + string + '"';
+ }
+
+
+ function str(key, holder) {
+
+// Produce a string from holder[key].
+
+ var i, // The loop counter.
+ k, // The member key.
+ v, // The member value.
+ length,
+ mind = gap,
+ partial,
+ value = holder[key];
+
+// If the value has a toJSON method, call it to obtain a replacement value.
+
+ if (value && typeof value === 'object' &&
+ typeof value.toJSON === 'function') {
+ value = value.toJSON(key);
+ }
+
+// If we were called with a replacer function, then call the replacer to
+// obtain a replacement value.
+
+ if (typeof rep === 'function') {
+ value = rep.call(holder, key, value);
+ }
+
+// What happens next depends on the value's type.
+
+ switch (typeof value) {
+ case 'string':
+ return quote(value);
+
+ case 'number':
+
+// JSON numbers must be finite. Encode non-finite numbers as null.
+
+ return isFinite(value) ? String(value) : 'null';
+
+ case 'boolean':
+ case 'null':
+
+// If the value is a boolean or null, convert it to a string. Note:
+// typeof null does not produce 'null'. The case is included here in
+// the remote chance that this gets fixed someday.
+
+ return String(value);
+
+// If the type is 'object', we might be dealing with an object or an array or
+// null.
+
+ case 'object':
+
+// Due to a specification blunder in ECMAScript, typeof null is 'object',
+// so watch out for that case.
+
+ if (!value) {
+ return 'null';
+ }
+
+// Make an array to hold the partial results of stringifying this object value.
+
+ gap += indent;
+ partial = [];
+
+// Is the value an array?
+
+ if (Object.prototype.toString.apply(value) === '[object Array]') {
+
+// The value is an array. Stringify every element. Use null as a placeholder
+// for non-JSON values.
+
+ length = value.length;
+ for (i = 0; i < length; i += 1) {
+ partial[i] = str(i, value) || 'null';
+ }
+
+// Join all of the elements together, separated with commas, and wrap them in
+// brackets.
+
+ v = partial.length === 0 ? '[]' : gap ?
+ '[\n' + gap + partial.join(',\n' + gap) + '\n' + mind + ']' :
+ '[' + partial.join(',') + ']';
+ gap = mind;
+ return v;
+ }
+
+// If the replacer is an array, use it to select the members to be stringified.
+
+ if (rep && typeof rep === 'object') {
+ length = rep.length;
+ for (i = 0; i < length; i += 1) {
+ k = rep[i];
+ if (typeof k === 'string') {
+ v = str(k, value);
+ if (v) {
+ partial.push(quote(k) + (gap ? ': ' : ':') + v);
+ }
+ }
+ }
+ } else {
+
+// Otherwise, iterate through all of the keys in the object.
+
+ for (k in value) {
+ if (Object.prototype.hasOwnProperty.call(value, k)) {
+ v = str(k, value);
+ if (v) {
+ partial.push(quote(k) + (gap ? ': ' : ':') + v);
+ }
+ }
+ }
+ }
+
+// Join all of the member texts together, separated with commas,
+// and wrap them in braces.
+
+ v = partial.length === 0 ? '{}' : gap ?
+ '{\n' + gap + partial.join(',\n' + gap) + '\n' + mind + '}' :
+ '{' + partial.join(',') + '}';
+ gap = mind;
+ return v;
+ }
+ }
+
+// If the JSON object does not yet have a stringify method, give it one.
+
+ if (typeof JSON.stringify !== 'function') {
+ JSON.stringify = function (value, replacer, space) {
+
+// The stringify method takes a value and an optional replacer, and an optional
+// space parameter, and returns a JSON text. The replacer can be a function
+// that can replace values, or an array of strings that will select the keys.
+// A default replacer method can be provided. Use of the space parameter can
+// produce text that is more easily readable.
+
+ var i;
+ gap = '';
+ indent = '';
+
+// If the space parameter is a number, make an indent string containing that
+// many spaces.
+
+ if (typeof space === 'number') {
+ for (i = 0; i < space; i += 1) {
+ indent += ' ';
+ }
+
+// If the space parameter is a string, it will be used as the indent string.
+
+ } else if (typeof space === 'string') {
+ indent = space;
+ }
+
+// If there is a replacer, it must be a function or an array.
+// Otherwise, throw an error.
+
+ rep = replacer;
+ if (replacer && typeof replacer !== 'function' &&
+ (typeof replacer !== 'object' ||
+ typeof replacer.length !== 'number')) {
+ throw new Error('JSON.stringify');
+ }
+
+// Make a fake root object containing our value under the key of ''.
+// Return the result of stringifying the value.
+
+ return str('', {'': value});
+ };
+ }
+
+
+// If the JSON object does not yet have a parse method, give it one.
+
+ if (typeof JSON.parse !== 'function') {
+ JSON.parse = function (text, reviver) {
+
+// The parse method takes a text and an optional reviver function, and returns
+// a JavaScript value if the text is a valid JSON text.
+
+ var j;
+
+ function walk(holder, key) {
+
+// The walk method is used to recursively walk the resulting structure so
+// that modifications can be made.
+
+ var k, v, value = holder[key];
+ if (value && typeof value === 'object') {
+ for (k in value) {
+ if (Object.prototype.hasOwnProperty.call(value, k)) {
+ v = walk(value, k);
+ if (v !== undefined) {
+ value[k] = v;
+ } else {
+ delete value[k];
+ }
+ }
+ }
+ }
+ return reviver.call(holder, key, value);
+ }
+
+
+// Parsing happens in four stages. In the first stage, we replace certain
+// Unicode characters with escape sequences. JavaScript handles many characters
+// incorrectly, either silently deleting them, or treating them as line endings.
+
+ text = String(text);
+ cx.lastIndex = 0;
+ if (cx.test(text)) {
+ text = text.replace(cx, function (a) {
+ return '\\u' +
+ ('0000' + a.charCodeAt(0).toString(16)).slice(-4);
+ });
+ }
+
+// In the second stage, we run the text against regular expressions that look
+// for non-JSON patterns. We are especially concerned with '()' and 'new'
+// because they can cause invocation, and '=' because it can cause mutation.
+// But just to be safe, we want to reject all unexpected forms.
+
+// We split the second stage into 4 regexp operations in order to work around
+// crippling inefficiencies in IE's and Safari's regexp engines. First we
+// replace the JSON backslash pairs with '@' (a non-JSON character). Second, we
+// replace all simple value tokens with ']' characters. Third, we delete all
+// open brackets that follow a colon or comma or that begin the text. Finally,
+// we look to see that the remaining characters are only whitespace or ']' or
+// ',' or ':' or '{' or '}'. If that is so, then the text is safe for eval.
+
+ if (/^[\],:{}\s]*$/
+ .test(text.replace(/\\(?:["\\\/bfnrt]|u[0-9a-fA-F]{4})/g, '@')
+ .replace(/"[^"\\\n\r]*"|true|false|null|-?\d+(?:\.\d*)?(?:[eE][+\-]?\d+)?/g, ']')
+ .replace(/(?:^|:|,)(?:\s*\[)+/g, ''))) {
+
+// In the third stage we use the eval function to compile the text into a
+// JavaScript structure. The '{' operator is subject to a syntactic ambiguity
+// in JavaScript: it can begin a block or an object literal. We wrap the text
+// in parens to eliminate the ambiguity.
+
+ j = eval('(' + text + ')');
+
+// In the optional fourth stage, we recursively walk the new structure, passing
+// each name/value pair to a reviver function for possible transformation.
+
+ return typeof reviver === 'function' ?
+ walk({'': j}, '') : j;
+ }
+
+// If the text is not JSON parseable, then a SyntaxError is thrown.
+
+ throw new SyntaxError('JSON.parse');
+ };
+ }
+
+// Augment the basic prototypes if they have not already been augmented.
+// These forms are obsolete. It is recommended that JSON.stringify and
+// JSON.parse be used instead.
+
+ if (!Object.prototype.toJSONString) {
+ Object.prototype.toJSONString = function (filter) {
+ return JSON.stringify(this, filter);
+ };
+ Object.prototype.parseJSON = function (filter) {
+ return JSON.parse(this, filter);
+ };
+ }
+}());
diff --git a/t/recipes/checks/files/source-missing/cruft-minified-js/build-spec/debian/missing-sources/subdir.js/source.js b/t/recipes/checks/files/source-missing/cruft-minified-js/build-spec/debian/missing-sources/subdir.js/source.js
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/t/recipes/checks/files/source-missing/cruft-minified-js/build-spec/debian/missing-sources/subdir.js/source.js
diff --git a/t/recipes/checks/files/source-missing/cruft-minified-js/build-spec/fill-values b/t/recipes/checks/files/source-missing/cruft-minified-js/build-spec/fill-values
new file mode 100644
index 0000000..5dd0aba
--- /dev/null
+++ b/t/recipes/checks/files/source-missing/cruft-minified-js/build-spec/fill-values
@@ -0,0 +1,4 @@
+Skeleton: upload-native
+Testname: cruft-minified-js
+Description: Misc errors related to minified javascript
+Extra-Build-Depends: uglifyjs
diff --git a/t/recipes/checks/files/source-missing/cruft-minified-js/build-spec/orig/deployJava/README b/t/recipes/checks/files/source-missing/cruft-minified-js/build-spec/orig/deployJava/README
new file mode 100644
index 0000000..914d120
--- /dev/null
+++ b/t/recipes/checks/files/source-missing/cruft-minified-js/build-spec/orig/deployJava/README
@@ -0,0 +1 @@
+Here we test deploy java \ No newline at end of file
diff --git a/t/recipes/checks/files/source-missing/cruft-minified-js/build-spec/orig/deployJava/deployJava.browser.js b/t/recipes/checks/files/source-missing/cruft-minified-js/build-spec/orig/deployJava/deployJava.browser.js
new file mode 100644
index 0000000..aa511b3
--- /dev/null
+++ b/t/recipes/checks/files/source-missing/cruft-minified-js/build-spec/orig/deployJava/deployJava.browser.js
@@ -0,0 +1,19 @@
+(function(modules, cache, entry) {
+ req(entry);
+ function req(name) {
+ if (cache[name]) return cache[name].exports;
+ var m = cache[name] = {exports: {}};
+ modules[name][0].call(m.exports, modRequire, m, m.exports, window);
+ return m.exports;
+ function modRequire(alias) {
+ var id = modules[name][1][alias];
+ if (!id) throw new Error("Cannot find module " + alias);
+ return req(id);
+ }
+ }
+})({0: [function(require,module,exports,global){
+var deployJava=function(){};
+/* simulate a long line */
+var longline = 'XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX';
+
+}, {}],}, {}, 0);
diff --git a/t/recipes/checks/files/source-missing/cruft-minified-js/build-spec/orig/deployJava/deployJava.js b/t/recipes/checks/files/source-missing/cruft-minified-js/build-spec/orig/deployJava/deployJava.js
new file mode 100644
index 0000000..2cb2fb3
--- /dev/null
+++ b/t/recipes/checks/files/source-missing/cruft-minified-js/build-spec/orig/deployJava/deployJava.js
@@ -0,0 +1,3 @@
+var deployJava=function(){};
+/* simulate a long line */
+var longline = 'XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX';
diff --git a/t/recipes/checks/files/source-missing/cruft-minified-js/build-spec/orig/oldfalsepositives/-debug.js/src/test-debug.js b/t/recipes/checks/files/source-missing/cruft-minified-js/build-spec/orig/oldfalsepositives/-debug.js/src/test-debug.js
new file mode 100644
index 0000000..4a35a5a
--- /dev/null
+++ b/t/recipes/checks/files/source-missing/cruft-minified-js/build-spec/orig/oldfalsepositives/-debug.js/src/test-debug.js
@@ -0,0 +1 @@
+//the source
diff --git a/t/recipes/checks/files/source-missing/cruft-minified-js/build-spec/orig/oldfalsepositives/-debug.js/src/test-min.js b/t/recipes/checks/files/source-missing/cruft-minified-js/build-spec/orig/oldfalsepositives/-debug.js/src/test-min.js
new file mode 100644
index 0000000..e1a0655
--- /dev/null
+++ b/t/recipes/checks/files/source-missing/cruft-minified-js/build-spec/orig/oldfalsepositives/-debug.js/src/test-min.js
@@ -0,0 +1,4 @@
+// a very long javascript yuic compressed
+/* simulate a long line */
+var longline = 'XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX';
+
diff --git a/t/recipes/checks/files/source-missing/cruft-minified-js/build-spec/orig/oldfalsepositives/-nc.js/test-nc.js b/t/recipes/checks/files/source-missing/cruft-minified-js/build-spec/orig/oldfalsepositives/-nc.js/test-nc.js
new file mode 100644
index 0000000..620611a
--- /dev/null
+++ b/t/recipes/checks/files/source-missing/cruft-minified-js/build-spec/orig/oldfalsepositives/-nc.js/test-nc.js
@@ -0,0 +1 @@
+//the source see zoneminder
diff --git a/t/recipes/checks/files/source-missing/cruft-minified-js/build-spec/orig/oldfalsepositives/-nc.js/test-yc.js b/t/recipes/checks/files/source-missing/cruft-minified-js/build-spec/orig/oldfalsepositives/-nc.js/test-yc.js
new file mode 100644
index 0000000..e1a0655
--- /dev/null
+++ b/t/recipes/checks/files/source-missing/cruft-minified-js/build-spec/orig/oldfalsepositives/-nc.js/test-yc.js
@@ -0,0 +1,4 @@
+// a very long javascript yuic compressed
+/* simulate a long line */
+var longline = 'XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX';
+
diff --git a/t/recipes/checks/files/source-missing/cruft-minified-js/build-spec/orig/oldfalsepositives/admin.js b/t/recipes/checks/files/source-missing/cruft-minified-js/build-spec/orig/oldfalsepositives/admin.js
new file mode 100644
index 0000000..3fc1fc2
--- /dev/null
+++ b/t/recipes/checks/files/source-missing/cruft-minified-js/build-spec/orig/oldfalsepositives/admin.js
@@ -0,0 +1 @@
+// this catch missing . in regexp \ No newline at end of file
diff --git a/t/recipes/checks/files/source-missing/cruft-minified-js/build-spec/orig/oldfalsepositives/css_browser_selector.js b/t/recipes/checks/files/source-missing/cruft-minified-js/build-spec/orig/oldfalsepositives/css_browser_selector.js
new file mode 100644
index 0000000..0668aa7
--- /dev/null
+++ b/t/recipes/checks/files/source-missing/cruft-minified-js/build-spec/orig/oldfalsepositives/css_browser_selector.js
@@ -0,0 +1,8 @@
+/*
+CSS Browser Selector v0.4.0 (Nov 02, 2010)
+Rafael Lima (http://rafael.adm.br)
+http://rafael.adm.br/css_browser_selector
+License: http://creativecommons.org/licenses/by/2.5/
+Contributors: http://rafael.adm.br/css_browser_selector#contributors
+*/
+function css_browser_selector(u){var ua=u.toLowerCase(),is=function(t){return ua.indexOf(t)>-1},g='gecko',w='webkit',s='safari',o='opera',m='mobile',h=document.documentElement,b=[(!(/opera|webtv/i.test(ua))&&/msie\s(\d)/.test(ua))?('ie ie'+RegExp.$1):is('firefox/2')?g+' ff2':is('firefox/3.5')?g+' ff3 ff3_5':is('firefox/3.6')?g+' ff3 ff3_6':is('firefox/3')?g+' ff3':is('gecko/')?g:is('opera')?o+(/version\/(\d+)/.test(ua)?' '+o+RegExp.$1:(/opera(\s|\/)(\d+)/.test(ua)?' '+o+RegExp.$2:'')):is('konqueror')?'konqueror':is('blackberry')?m+' blackberry':is('android')?m+' android':is('chrome')?w+' chrome':is('iron')?w+' iron':is('applewebkit/')?w+' '+s+(/version\/(\d+)/.test(ua)?' '+s+RegExp.$1:''):is('mozilla/')?g:'',is('j2me')?m+' j2me':is('iphone')?m+' iphone':is('ipod')?m+' ipod':is('ipad')?m+' ipad':is('mac')?'mac':is('darwin')?'mac':is('webtv')?'webtv':is('win')?'win'+(is('windows nt 6.0')?' vista':''):is('freebsd')?'freebsd':(is('x11')||is('linux'))?'linux':'','js']; c = b.join(' '); h.className += ' '+c; return c;}; css_browser_selector(navigator.userAgent);
diff --git a/t/recipes/checks/files/source-missing/cruft-minified-js/build-spec/orig/oldfalsepositives/debug.js/testdebug.debug.js b/t/recipes/checks/files/source-missing/cruft-minified-js/build-spec/orig/oldfalsepositives/debug.js/testdebug.debug.js
new file mode 100644
index 0000000..a1c3620
--- /dev/null
+++ b/t/recipes/checks/files/source-missing/cruft-minified-js/build-spec/orig/oldfalsepositives/debug.js/testdebug.debug.js
@@ -0,0 +1 @@
+//the source found for instance in mono
diff --git a/t/recipes/checks/files/source-missing/cruft-minified-js/build-spec/orig/oldfalsepositives/debug.js/testdebug.js b/t/recipes/checks/files/source-missing/cruft-minified-js/build-spec/orig/oldfalsepositives/debug.js/testdebug.js
new file mode 100644
index 0000000..fc9eb65
--- /dev/null
+++ b/t/recipes/checks/files/source-missing/cruft-minified-js/build-spec/orig/oldfalsepositives/debug.js/testdebug.js
@@ -0,0 +1,4 @@
+// a very long javascript yuic compressed
+/* simulate a long line */
+var longline = 'XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX'; var second='X';
+
diff --git a/t/recipes/checks/files/source-missing/cruft-minified-js/build-spec/orig/oldfalsepositives/deployJava/deployJava.js b/t/recipes/checks/files/source-missing/cruft-minified-js/build-spec/orig/oldfalsepositives/deployJava/deployJava.js
new file mode 100644
index 0000000..a0a67e8
--- /dev/null
+++ b/t/recipes/checks/files/source-missing/cruft-minified-js/build-spec/orig/oldfalsepositives/deployJava/deployJava.js
@@ -0,0 +1,3 @@
+var deployJava=function(){};
+/* simulate a long line */
+var longline = 'XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX';
diff --git a/t/recipes/checks/files/source-missing/cruft-minified-js/build-spec/orig/oldfalsepositives/deployJava/deployJava.txt b/t/recipes/checks/files/source-missing/cruft-minified-js/build-spec/orig/oldfalsepositives/deployJava/deployJava.txt
new file mode 100644
index 0000000..a701c9f
--- /dev/null
+++ b/t/recipes/checks/files/source-missing/cruft-minified-js/build-spec/orig/oldfalsepositives/deployJava/deployJava.txt
@@ -0,0 +1 @@
+Here we test if source is available \ No newline at end of file
diff --git a/t/recipes/checks/files/source-missing/cruft-minified-js/build-spec/orig/oldfalsepositives/endoflinecomments.js b/t/recipes/checks/files/source-missing/cruft-minified-js/build-spec/orig/oldfalsepositives/endoflinecomments.js
new file mode 100644
index 0000000..7ab1dda
--- /dev/null
+++ b/t/recipes/checks/files/source-missing/cruft-minified-js/build-spec/orig/oldfalsepositives/endoflinecomments.js
@@ -0,0 +1,104 @@
+var longlonglong = 5; // comment
+var longlonglong = 5; // comment
+var longlonglong = 5; // comment
+var longlonglong = 5; // comment
+var longlonglong = 5; // comment
+var longlonglong = 5; // comment
+var longlonglong = 5; // comment
+var longlonglong = 5; // comment
+var longlonglong = 5; // comment
+var longlonglong = 5; // comment
+var longlonglong = 5; // comment
+var longlonglong = 5; // comment
+var longlonglong = 5; // comment
+var longlonglong = 5; // comment
+var longlonglong = 5; // comment
+var longlonglong = 5; // comment
+var longlonglong = 5; // comment
+var longlonglong = 5; // comment
+var longlonglong = 5; // comment
+var longlonglong = 5; // comment
+var longlonglong = 5; // comment
+var longlonglong = 5; // comment
+var longlonglong = 5; // comment
+var longlonglong = 5; // comment
+var longlonglong = 5; // comment
+var longlonglong = 5; // comment
+var longlonglong = 5; // comment
+var longlonglong = 5; // comment
+var longlonglong = 5; // comment
+var longlonglong = 5; // comment
+var longlonglong = 5; // comment
+var longlonglong = 5; // comment
+var longlonglong = 5; // comment
+var longlonglong = 5; // comment
+var longlonglong = 5; // comment
+var longlonglong = 5; // comment
+var longlonglong = 5; // comment
+var longlonglong = 5; // comment
+var longlonglong = 5; // comment
+var longlonglong = 5; // comment
+var longlonglong = 5; // comment
+var longlonglong = 5; // comment
+var longlonglong = 5; // comment
+var longlonglong = 5; // comment
+var longlonglong = 5; // comment
+var longlonglong = 5; // comment
+var longlonglong = 5; // comment
+var longlonglong = 5; // comment
+var longlonglong = 5; // comment
+var longlonglong = 5; // comment
+var longlonglong = 5; // comment
+var longlonglong = 5; // comment
+var longlonglong = 5; // comment
+var longlonglong = 5; // comment
+var longlonglong = 5; // comment
+var longlonglong = 5; // comment
+var longlonglong = 5; // comment
+var longlonglong = 5; // comment
+var longlonglong = 5; // comment
+var longlonglong = 5; // comment
+var longlonglong = 5; // comment
+var longlonglong = 5; // comment
+var longlonglong = 5; // comment
+var longlonglong = 5; // comment
+var longlonglong = 5; // comment
+var longlonglong = 5; // comment
+var longlonglong = 5; // comment
+var longlonglong = 5; // comment
+var longlonglong = 5; // comment
+var longlonglong = 5; // comment
+var longlonglong = 5; // comment
+var longlonglong = 5; // comment
+var longlonglong = 5; // comment
+var longlonglong = 5; // comment
+var longlonglong = 5; // comment
+var longlonglong = 5; // comment
+var longlonglong = 5; // comment
+var longlonglong = 5; // comment
+var longlonglong = 5; // comment
+var longlonglong = 5; // comment
+var longlonglong = 5; // comment
+var longlonglong = 5; // comment
+var longlonglong = 5; // comment
+var longlonglong = 5; // comment
+var longlonglong = 5; // comment
+var longlonglong = 5; // comment
+var longlonglong = 5; // comment
+var longlonglong = 5; // comment
+var longlonglong = 5; // comment
+var longlonglong = 5; // comment
+var longlonglong = 5; // comment
+var longlonglong = 5; // comment
+var longlonglong = 5; // comment
+var longlonglong = 5; // comment
+var longlonglong = 5; // comment
+var longlonglong = 5; // comment
+var longlonglong = 5; // comment
+var longlonglong = 5; // comment
+var longlonglong = 5; // comment
+var longlonglong = 5; // comment
+var longlonglong = 5; // comment
+var longlonglong = 5; // comment
+var longlonglong = 5; // comment
+var longlonglong = 5; // comment
diff --git a/t/recipes/checks/files/source-missing/cruft-minified-js/build-spec/orig/oldfalsepositives/jslint.js b/t/recipes/checks/files/source-missing/cruft-minified-js/build-spec/orig/oldfalsepositives/jslint.js
new file mode 100644
index 0000000..d2f68d3
--- /dev/null
+++ b/t/recipes/checks/files/source-missing/cruft-minified-js/build-spec/orig/oldfalsepositives/jslint.js
@@ -0,0 +1,2 @@
+/*jslint evil: true, undef: true, browser: true */
+/*globals $,require,jQuery,define,_selector_run,_selector_opts,_selector_first,_selector_row_indexes,_ext,_Api,_api_register,_api_registerPlural,_re_new_lines,_re_html,_re_formatted_numeric,_re_escape_regex,_empty,_intVal,_numToDecimal,_isNumber,_isHtml,_htmlNumeric,_pluck,_pluck_order,_range,_stripHtml,_unique,_fnBuildAjax,_fnAjaxUpdate,_fnAjaxParameters,_fnAjaxUpdateDraw,_fnAjaxDataSrc,_fnAddColumn,_fnColumnOptions,_fnAdjustColumnSizing,_fnVisibleToColumnIndex,_fnColumnIndexToVisible,_fnVisbleColumns,_fnGetColumns,_fnColumnTypes,_fnApplyColumnDefs,_fnHungarianMap,_fnCamelToHungarian,_fnLanguageCompat,_fnBrowserDetect,_fnAddData,_fnAddTr,_fnNodeToDataIndex,_fnNodeToColumnIndex,_fnGetCellData,_fnSetCellData,_fnSplitObjNotation,_fnGetObjectDataFn,_fnSetObjectDataFn,_fnGetDataMaster,_fnClearTable,_fnDeleteIndex,_fnInvalidate,_fnGetRowElements,_fnCreateTr,_fnBuildHead,_fnDrawHead,_fnDraw,_fnReDraw,_fnAddOptionsHtml,_fnDetectHeader,_fnGetUniqueThs,_fnFeatureHtmlFilter,_fnFilterComplete,_fnFilterCustom,_fnFilterColumn,_fnFilter,_fnFilterCreateSearch,_fnEscapeRegex,_fnFilterData,_fnFeatureHtmlInfo,_fnUpdateInfo,_fnInfoMacros,_fnInitialise,_fnInitComplete,_fnLengthChange,_fnFeatureHtmlLength,_fnFeatureHtmlPaginate,_fnPageChange,_fnFeatureHtmlProcessing,_fnProcessingDisplay,_fnFeatureHtmlTable,_fnScrollDraw,_fnApplyToChildren,_fnCalculateColumnWidths,_fnThrottle,_fnConvertToWidth,_fnGetWidestNode,_fnGetMaxLenString,_fnStringToCss,_fnSortFlatten,_fnSort,_fnSortAria,_fnSortListener,_fnSortAttachListener,_fnSortingClasses,_fnSortData,_fnSaveState,_fnLoadState,_fnSettingsFromNode,_fnLog,_fnMap,_fnBindAction,_fnCallbackReg,_fnCallbackFire,_fnLengthOverflow,_fnRenderer,_fnDataSource,_fnRowAttributes*/
diff --git a/t/recipes/checks/files/source-missing/cruft-minified-js/build-spec/orig/oldfalsepositives/longlicensetext.js b/t/recipes/checks/files/source-missing/cruft-minified-js/build-spec/orig/oldfalsepositives/longlicensetext.js
new file mode 100644
index 0000000..66222ee
--- /dev/null
+++ b/t/recipes/checks/files/source-missing/cruft-minified-js/build-spec/orig/oldfalsepositives/longlicensetext.js
@@ -0,0 +1,30 @@
+/* long line in fake license */
+/*
+ * LICENSE
+ *
+ * POCKET MARKS
+ *
+ * Notwithstanding the permitted uses of the Software (as defined below) pursuant to the license set forth below, "Pocket," "Read It Later" and the Pocket icon and logos (collectively, the “Pocket Marksâ€) are registered and common law trademarks of Read It Later, Inc. This means that, while you have considerable freedom to redistribute and modify the Software, there are tight restrictions on your ability to use the Pocket Marks. This license does not grant you any rights to use the Pocket Marks except as they are embodied in the Software.
+ *
+ * ---
+ *
+ * SOFTWARE
+ *
+ * Permission is hereby granted, free of charge, to any person obtaining a copy
+ * of this software and associated documentation files (the "Software"), to deal
+ * in the Software without restriction, including without limitation the rights
+ * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+ * copies of the Software, and to permit persons to whom the Software is
+ * furnished to do so, subject to the following conditions:
+ *
+ * The above copyright notice and this permission notice shall be included in
+ * all copies or substantial portions of the Software.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
+ * THE SOFTWARE.
+ */
diff --git a/t/recipes/checks/files/source-missing/cruft-minified-js/build-spec/orig/oldfalsepositives/nested-dir/README b/t/recipes/checks/files/source-missing/cruft-minified-js/build-spec/orig/oldfalsepositives/nested-dir/README
new file mode 100644
index 0000000..2db2f0f
--- /dev/null
+++ b/t/recipes/checks/files/source-missing/cruft-minified-js/build-spec/orig/oldfalsepositives/nested-dir/README
@@ -0,0 +1 @@
+exercice missing dir in relative dir \ No newline at end of file
diff --git a/t/recipes/checks/files/source-missing/cruft-minified-js/build-spec/orig/oldfalsepositives/nested-dir/dist/fake.min.js b/t/recipes/checks/files/source-missing/cruft-minified-js/build-spec/orig/oldfalsepositives/nested-dir/dist/fake.min.js
new file mode 100644
index 0000000..3e0e3c2
--- /dev/null
+++ b/t/recipes/checks/files/source-missing/cruft-minified-js/build-spec/orig/oldfalsepositives/nested-dir/dist/fake.min.js
@@ -0,0 +1,2 @@
+// fake min.js
+toto='1'; \ No newline at end of file
diff --git a/t/recipes/checks/files/source-missing/cruft-minified-js/build-spec/orig/oldfalsepositives/nested-dir/src/fake.js b/t/recipes/checks/files/source-missing/cruft-minified-js/build-spec/orig/oldfalsepositives/nested-dir/src/fake.js
new file mode 100644
index 0000000..772fe5c
--- /dev/null
+++ b/t/recipes/checks/files/source-missing/cruft-minified-js/build-spec/orig/oldfalsepositives/nested-dir/src/fake.js
@@ -0,0 +1,2 @@
+// fake source
+toto='1'; \ No newline at end of file
diff --git a/t/recipes/checks/files/source-missing/cruft-minified-js/build-spec/orig/oldfalsepositives/pandoc/search_index.js b/t/recipes/checks/files/source-missing/cruft-minified-js/build-spec/orig/oldfalsepositives/pandoc/search_index.js
new file mode 100644
index 0000000..077c6f7
--- /dev/null
+++ b/t/recipes/checks/files/source-missing/cruft-minified-js/build-spec/orig/oldfalsepositives/pandoc/search_index.js
@@ -0,0 +1,4 @@
+var search_index = [
+'ALLEGRO_CONFIG','ALLEGRO_CONFIG_SECTION','ALLEGRO_CONFIG','ALLEGRO_CONFIG_SECTION','ALLEGRO_CONFIG','ALLEGRO_CONFIG_SECTION','ALLEGRO_CONFIG','ALLEGRO_CONFIG_SECTION','ALLEGRO_CONFIG','ALLEGRO_CONFIG_SECTION''ALLEGRO_CONFIG','ALLEGRO_CONFIG_SECTION','ALLEGRO_CONFIG','ALLEGRO_CONFIG_SECTION','ALLEGRO_CONFIG','ALLEGRO_CONFIG_SECTION','ALLEGRO_CONFIG','ALLEGRO_CONFIG_SECTION','ALLEGRO_CONFIG','ALLEGRO_CONFIG_SECTION''ALLEGRO_CONFIG','ALLEGRO_CONFIG_SECTION','ALLEGRO_CONFIG','ALLEGRO_CONFIG_SECTION','ALLEGRO_CONFIG','ALLEGRO_CONFIG_SECTION','ALLEGRO_CONFIG','ALLEGRO_CONFIG_SECTION','ALLEGRO_CONFIG','ALLEGRO_CONFIG_SECTION''ALLEGRO_CONFIG','ALLEGRO_CONFIG_SECTION','ALLEGRO_CONFIG','ALLEGRO_CONFIG_SECTION','ALLEGRO_CONFIG','ALLEGRO_CONFIG_SECTION','ALLEGRO_CONFIG','ALLEGRO_CONFIG_SECTION','ALLEGRO_CONFIG','ALLEGRO_CONFIG_SECTION''ALLEGRO_CONFIG','ALLEGRO_CONFIG_SECTION','ALLEGRO_CONFIG','ALLEGRO_CONFIG_SECTION','ALLEGRO_CONFIG','ALLEGRO_CONFIG_SECTION','ALLEGRO_CONFIG','ALLEGRO_CONFIG_SECTION','ALLEGRO_CONFIG','ALLEGRO_CONFIG_SECTION''ALLEGRO_CONFIG','ALLEGRO_CONFIG_SECTION','ALLEGRO_CONFIG','ALLEGRO_CONFIG_SECTION','ALLEGRO_CONFIG','ALLEGRO_CONFIG_SECTION','ALLEGRO_CONFIG','ALLEGRO_CONFIG_SECTION','ALLEGRO_CONFIG','ALLEGRO_CONFIG_SECTION''ALLEGRO_CONFIG','ALLEGRO_CONFIG_SECTION','ALLEGRO_CONFIG','ALLEGRO_CONFIG_SECTION','ALLEGRO_CONFIG','ALLEGRO_CONFIG_SECTION','ALLEGRO_CONFIG','ALLEGRO_CONFIG_SECTION','ALLEGRO_CONFIG','ALLEGRO_CONFIG_SECTION''ALLEGRO_CONFIG','ALLEGRO_CONFIG_SECTION','ALLEGRO_CONFIG','ALLEGRO_CONFIG_SECTION','ALLEGRO_CONFIG','ALLEGRO_CONFIG_SECTION','ALLEGRO_CONFIG','ALLEGRO_CONFIG_SECTION','ALLEGRO_CONFIG','ALLEGRO_CONFIG_SECTION''ALLEGRO_CONFIG','ALLEGRO_CONFIG_SECTION','ALLEGRO_CONFIG','ALLEGRO_CONFIG_SECTION','ALLEGRO_CONFIG','ALLEGRO_CONFIG_SECTION','ALLEGRO_CONFIG','ALLEGRO_CONFIG_SECTION','ALLEGRO_CONFIG','ALLEGRO_CONFIG_SECTION''ALLEGRO_CONFIG','ALLEGRO_CONFIG_SECTION','ALLEGRO_CONFIG','ALLEGRO_CONFIG_SECTION','ALLEGRO_CONFIG','ALLEGRO_CONFIG_SECTION','ALLEGRO_CONFIG','ALLEGRO_CONFIG_SECTION','ALLEGRO_CONFIG','ALLEGRO_CONFIG_SECTION''ALLEGRO_CONFIG','ALLEGRO_CONFIG_SECTION','ALLEGRO_CONFIG','ALLEGRO_CONFIG_SECTION','ALLEGRO_CONFIG','ALLEGRO_CONFIG_SECTION','ALLEGRO_CONFIG','ALLEGRO_CONFIG_SECTION','ALLEGRO_CONFIG','ALLEGRO_CONFIG_SECTION''ALLEGRO_CONFIG','ALLEGRO_CONFIG_SECTION','ALLEGRO_CONFIG','ALLEGRO_CONFIG_SECTION','ALLEGRO_CONFIG','ALLEGRO_CONFIG_SECTION','ALLEGRO_CONFIG','ALLEGRO_CONFIG_SECTION','ALLEGRO_CONFIG','ALLEGRO_CONFIG_SECTION''ALLEGRO_CONFIG','ALLEGRO_CONFIG_SECTION','ALLEGRO_CONFIG','ALLEGRO_CONFIG_SECTION','ALLEGRO_CONFIG','ALLEGRO_CONFIG_SECTION','ALLEGRO_CONFIG','ALLEGRO_CONFIG_SECTION','ALLEGRO_CONFIG','ALLEGRO_CONFIG_SECTION''ALLEGRO_CONFIG','ALLEGRO_CONFIG_SECTION','ALLEGRO_CONFIG','ALLEGRO_CONFIG_SECTION','ALLEGRO_CONFIG','ALLEGRO_CONFIG_SECTION','ALLEGRO_CONFIG','ALLEGRO_CONFIG_SECTION','ALLEGRO_CONFIG','ALLEGRO_CONFIG_SECTION','ALLEGRO_CONFIG','ALLEGRO_CONFIG_SECTION','ALLEGRO_CONFIG','ALLEGRO_CONFIG_SECTION','ALLEGRO_CONFIG','ALLEGRO_CONFIG_SECTION',];
+var search_urls = [
+'config.html#allegro_config','config.html#allegro_config_section'];
diff --git a/t/recipes/checks/files/source-missing/cruft-minified-js/build-spec/orig/oldfalsepositives/scriptinhtml/falsecopyright.html b/t/recipes/checks/files/source-missing/cruft-minified-js/build-spec/orig/oldfalsepositives/scriptinhtml/falsecopyright.html
new file mode 100644
index 0000000..7267c7f
--- /dev/null
+++ b/t/recipes/checks/files/source-missing/cruft-minified-js/build-spec/orig/oldfalsepositives/scriptinhtml/falsecopyright.html
@@ -0,0 +1,7 @@
+<html>
+<header>
+<script>
+(c)?b<=c:true)}function d(c,b)
+</script>
+</header>
+</html> \ No newline at end of file
diff --git a/t/recipes/checks/files/source-missing/cruft-minified-js/build-spec/orig/oldfalsepositives/singlecolon.js b/t/recipes/checks/files/source-missing/cruft-minified-js/build-spec/orig/oldfalsepositives/singlecolon.js
new file mode 100644
index 0000000..80e795f
--- /dev/null
+++ b/t/recipes/checks/files/source-missing/cruft-minified-js/build-spec/orig/oldfalsepositives/singlecolon.js
@@ -0,0 +1,3 @@
+/* simulate a long line by with only one ;*/
+var longline = 'XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX';
+
diff --git a/t/recipes/checks/files/source-missing/cruft-minified-js/build-spec/orig/oldfalsepositives/sqlite.js b/t/recipes/checks/files/source-missing/cruft-minified-js/build-spec/orig/oldfalsepositives/sqlite.js
new file mode 100644
index 0000000..8e17061
--- /dev/null
+++ b/t/recipes/checks/files/source-missing/cruft-minified-js/build-spec/orig/oldfalsepositives/sqlite.js
@@ -0,0 +1 @@
+// this one catch lite suffix \ No newline at end of file
diff --git a/t/recipes/checks/files/source-missing/cruft-minified-js/build-spec/orig/oldfalsepositives/src.js/test.min.js b/t/recipes/checks/files/source-missing/cruft-minified-js/build-spec/orig/oldfalsepositives/src.js/test.min.js
new file mode 100644
index 0000000..d47653c
--- /dev/null
+++ b/t/recipes/checks/files/source-missing/cruft-minified-js/build-spec/orig/oldfalsepositives/src.js/test.min.js
@@ -0,0 +1,3 @@
+// a very long javascript yuic compressed
+/* simulate a long line */
+var longline = 'XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX';
diff --git a/t/recipes/checks/files/source-missing/cruft-minified-js/build-spec/orig/oldfalsepositives/src.js/test.src.js b/t/recipes/checks/files/source-missing/cruft-minified-js/build-spec/orig/oldfalsepositives/src.js/test.src.js
new file mode 100644
index 0000000..4a35a5a
--- /dev/null
+++ b/t/recipes/checks/files/source-missing/cruft-minified-js/build-spec/orig/oldfalsepositives/src.js/test.src.js
@@ -0,0 +1 @@
+//the source
diff --git a/t/recipes/checks/files/source-missing/cruft-minified-js/build-spec/orig/oldfalsepositives/suffix/test-compiled.js b/t/recipes/checks/files/source-missing/cruft-minified-js/build-spec/orig/oldfalsepositives/suffix/test-compiled.js
new file mode 100644
index 0000000..d9fd3cb
--- /dev/null
+++ b/t/recipes/checks/files/source-missing/cruft-minified-js/build-spec/orig/oldfalsepositives/suffix/test-compiled.js
@@ -0,0 +1,2 @@
+// a very long javascript yuic compressed
+
diff --git a/t/recipes/checks/files/source-missing/cruft-minified-js/build-spec/orig/oldfalsepositives/suffix/test-compressed.js b/t/recipes/checks/files/source-missing/cruft-minified-js/build-spec/orig/oldfalsepositives/suffix/test-compressed.js
new file mode 100644
index 0000000..d9fd3cb
--- /dev/null
+++ b/t/recipes/checks/files/source-missing/cruft-minified-js/build-spec/orig/oldfalsepositives/suffix/test-compressed.js
@@ -0,0 +1,2 @@
+// a very long javascript yuic compressed
+
diff --git a/t/recipes/checks/files/source-missing/cruft-minified-js/build-spec/orig/oldfalsepositives/suffix/test-lite.js b/t/recipes/checks/files/source-missing/cruft-minified-js/build-spec/orig/oldfalsepositives/suffix/test-lite.js
new file mode 100644
index 0000000..d9fd3cb
--- /dev/null
+++ b/t/recipes/checks/files/source-missing/cruft-minified-js/build-spec/orig/oldfalsepositives/suffix/test-lite.js
@@ -0,0 +1,2 @@
+// a very long javascript yuic compressed
+
diff --git a/t/recipes/checks/files/source-missing/cruft-minified-js/build-spec/orig/oldfalsepositives/suffix/test-min.js b/t/recipes/checks/files/source-missing/cruft-minified-js/build-spec/orig/oldfalsepositives/suffix/test-min.js
new file mode 100644
index 0000000..d9fd3cb
--- /dev/null
+++ b/t/recipes/checks/files/source-missing/cruft-minified-js/build-spec/orig/oldfalsepositives/suffix/test-min.js
@@ -0,0 +1,2 @@
+// a very long javascript yuic compressed
+
diff --git a/t/recipes/checks/files/source-missing/cruft-minified-js/build-spec/orig/oldfalsepositives/suffix/test-pack.js b/t/recipes/checks/files/source-missing/cruft-minified-js/build-spec/orig/oldfalsepositives/suffix/test-pack.js
new file mode 100644
index 0000000..d9fd3cb
--- /dev/null
+++ b/t/recipes/checks/files/source-missing/cruft-minified-js/build-spec/orig/oldfalsepositives/suffix/test-pack.js
@@ -0,0 +1,2 @@
+// a very long javascript yuic compressed
+
diff --git a/t/recipes/checks/files/source-missing/cruft-minified-js/build-spec/orig/oldfalsepositives/suffix/test-packed.js b/t/recipes/checks/files/source-missing/cruft-minified-js/build-spec/orig/oldfalsepositives/suffix/test-packed.js
new file mode 100644
index 0000000..d9fd3cb
--- /dev/null
+++ b/t/recipes/checks/files/source-missing/cruft-minified-js/build-spec/orig/oldfalsepositives/suffix/test-packed.js
@@ -0,0 +1,2 @@
+// a very long javascript yuic compressed
+
diff --git a/t/recipes/checks/files/source-missing/cruft-minified-js/build-spec/orig/oldfalsepositives/suffix/test-yc.js b/t/recipes/checks/files/source-missing/cruft-minified-js/build-spec/orig/oldfalsepositives/suffix/test-yc.js
new file mode 100644
index 0000000..d9fd3cb
--- /dev/null
+++ b/t/recipes/checks/files/source-missing/cruft-minified-js/build-spec/orig/oldfalsepositives/suffix/test-yc.js
@@ -0,0 +1,2 @@
+// a very long javascript yuic compressed
+
diff --git a/t/recipes/checks/files/source-missing/cruft-minified-js/build-spec/orig/oldfalsepositives/suffix/test.compressed.js b/t/recipes/checks/files/source-missing/cruft-minified-js/build-spec/orig/oldfalsepositives/suffix/test.compressed.js
new file mode 100644
index 0000000..d9fd3cb
--- /dev/null
+++ b/t/recipes/checks/files/source-missing/cruft-minified-js/build-spec/orig/oldfalsepositives/suffix/test.compressed.js
@@ -0,0 +1,2 @@
+// a very long javascript yuic compressed
+
diff --git a/t/recipes/checks/files/source-missing/cruft-minified-js/build-spec/orig/oldfalsepositives/suffix/test.js b/t/recipes/checks/files/source-missing/cruft-minified-js/build-spec/orig/oldfalsepositives/suffix/test.js
new file mode 100644
index 0000000..cb851fb
--- /dev/null
+++ b/t/recipes/checks/files/source-missing/cruft-minified-js/build-spec/orig/oldfalsepositives/suffix/test.js
@@ -0,0 +1 @@
+# the source
diff --git a/t/recipes/checks/files/source-missing/cruft-minified-js/build-spec/orig/oldfalsepositives/suffix/test.min.js b/t/recipes/checks/files/source-missing/cruft-minified-js/build-spec/orig/oldfalsepositives/suffix/test.min.js
new file mode 100644
index 0000000..d9fd3cb
--- /dev/null
+++ b/t/recipes/checks/files/source-missing/cruft-minified-js/build-spec/orig/oldfalsepositives/suffix/test.min.js
@@ -0,0 +1,2 @@
+// a very long javascript yuic compressed
+
diff --git a/t/recipes/checks/files/source-missing/cruft-minified-js/build-spec/orig/oldfalsepositives/suffix/test_min.js b/t/recipes/checks/files/source-missing/cruft-minified-js/build-spec/orig/oldfalsepositives/suffix/test_min.js
new file mode 100644
index 0000000..d9fd3cb
--- /dev/null
+++ b/t/recipes/checks/files/source-missing/cruft-minified-js/build-spec/orig/oldfalsepositives/suffix/test_min.js
@@ -0,0 +1,2 @@
+// a very long javascript yuic compressed
+
diff --git a/t/recipes/checks/files/source-missing/cruft-minified-js/build-spec/pre-build b/t/recipes/checks/files/source-missing/cruft-minified-js/build-spec/pre-build
new file mode 100755
index 0000000..13f30ca
--- /dev/null
+++ b/t/recipes/checks/files/source-missing/cruft-minified-js/build-spec/pre-build
@@ -0,0 +1,52 @@
+#!/bin/sh
+#
+# Create all the various junk that shouldn't exist in the diff so that we can
+# trigger all the tags.
+
+set -e
+dir="$1"
+jsdir="$1/usr/share/javascript/"
+srcdir="$1"
+json="$srcdir/debian/missing-sources/json.js"
+uglyjson="$jsdir/json/json.min.js"
+
+mkdir -p "$jsdir"
+mkdir -p "$jsdir/minwithoutsource"
+mkdir -p "$jsdir/jswithoutminext"
+mkdir -p "$jsdir/json"
+mkdir -p "$jsdir/sourced"
+mkdir -p "$jsdir/sourced_variant"
+mkdir -p "$jsdir/jswithoutminextwithoutsource/"
+mkdir -p "$srcdir/src/js"
+mkdir -p "$srcdir/build/js"
+
+# create a js file
+uglifyjs -o "$uglyjson" "$json"
+# fake install of minified js without min.js
+cp "$uglyjson" "$jsdir/jswithoutminext/json.js"
+# fake not sourced
+cp "$uglyjson" "$jsdir/minwithoutsource/notsourced.min.js"
+cp "$uglyjson" "$jsdir/minwithoutsource/subdir.min.js"
+# fake install but not sourced
+cp "$uglyjson" "$jsdir/jswithoutminextwithoutsource/jsonnotsourced.js"
+# fake source and min alone
+cp "$uglyjson" "$jsdir/sourced/sourced.min.js"
+cp "$json" "$jsdir/sourced/sourced.js"
+cp "$uglyjson" "$jsdir/sourced_variant/sourced.min.js"
+cp "$json" "$jsdir/sourced_variant/sourced_orig.js"
+# sourced in parent's parent
+cp "$uglyjson" "$srcdir/build/js/foo.min.js"
+cp "$json" "$srcdir/src/js/foo.js"
+
+cat > $srcdir/src/js/foo.html <<EOF
+<html>
+<head>
+<script>
+// Copyright someone
+EOF
+cat "$uglyjson" >> $srcdir/src/js/foo.html
+cat >> $srcdir/src/js/foo.html <<EOF
+</script>
+</head>
+</html>
+EOF
diff --git a/t/recipes/checks/files/source-missing/cruft-minified-js/eval/desc b/t/recipes/checks/files/source-missing/cruft-minified-js/eval/desc
new file mode 100644
index 0000000..cb20281
--- /dev/null
+++ b/t/recipes/checks/files/source-missing/cruft-minified-js/eval/desc
@@ -0,0 +1,2 @@
+Testname: cruft-minified-js
+Check: files/source-missing
diff --git a/t/recipes/checks/files/source-missing/cruft-minified-js/eval/hints b/t/recipes/checks/files/source-missing/cruft-minified-js/eval/hints
new file mode 100644
index 0000000..9bdf288
--- /dev/null
+++ b/t/recipes/checks/files/source-missing/cruft-minified-js/eval/hints
@@ -0,0 +1,34 @@
+cruft-minified-js (source): source-is-missing [usr/share/javascript/minwithoutsource/notsourced.min.js]
+cruft-minified-js (source): source-is-missing [usr/share/javascript/jswithoutminextwithoutsource/jsonnotsourced.js]
+cruft-minified-js (source): source-is-missing [src/js/foo.html]
+cruft-minified-js (source): source-is-missing [oldfalsepositives/pandoc/search_index.js]
+cruft-minified-js (source): source-is-missing [oldfalsepositives/longlicensetext.js]
+cruft-minified-js (source): source-is-missing [oldfalsepositives/jslint.js]
+cruft-minified-js (source): source-is-missing [oldfalsepositives/css_browser_selector.js]
+cruft-minified-js (source): source-is-missing [deployJava/deployJava.js]
+cruft-minified-js (source): source-contains-prebuilt-javascript-object [usr/share/javascript/sourced_variant/sourced.min.js]
+cruft-minified-js (source): source-contains-prebuilt-javascript-object [usr/share/javascript/sourced/sourced.min.js]
+cruft-minified-js (source): source-contains-prebuilt-javascript-object [usr/share/javascript/minwithoutsource/subdir.min.js]
+cruft-minified-js (source): source-contains-prebuilt-javascript-object [usr/share/javascript/minwithoutsource/notsourced.min.js]
+cruft-minified-js (source): source-contains-prebuilt-javascript-object [usr/share/javascript/jswithoutminextwithoutsource/jsonnotsourced.js]
+cruft-minified-js (source): source-contains-prebuilt-javascript-object [usr/share/javascript/jswithoutminext/json.js]
+cruft-minified-js (source): source-contains-prebuilt-javascript-object [usr/share/javascript/json/json.min.js]
+cruft-minified-js (source): source-contains-prebuilt-javascript-object [oldfalsepositives/suffix/test_min.js]
+cruft-minified-js (source): source-contains-prebuilt-javascript-object [oldfalsepositives/suffix/test.min.js]
+cruft-minified-js (source): source-contains-prebuilt-javascript-object [oldfalsepositives/suffix/test.compressed.js]
+cruft-minified-js (source): source-contains-prebuilt-javascript-object [oldfalsepositives/suffix/test-yc.js]
+cruft-minified-js (source): source-contains-prebuilt-javascript-object [oldfalsepositives/suffix/test-packed.js]
+cruft-minified-js (source): source-contains-prebuilt-javascript-object [oldfalsepositives/suffix/test-pack.js]
+cruft-minified-js (source): source-contains-prebuilt-javascript-object [oldfalsepositives/suffix/test-min.js]
+cruft-minified-js (source): source-contains-prebuilt-javascript-object [oldfalsepositives/suffix/test-lite.js]
+cruft-minified-js (source): source-contains-prebuilt-javascript-object [oldfalsepositives/suffix/test-compressed.js]
+cruft-minified-js (source): source-contains-prebuilt-javascript-object [oldfalsepositives/suffix/test-compiled.js]
+cruft-minified-js (source): source-contains-prebuilt-javascript-object [oldfalsepositives/src.js/test.min.js]
+cruft-minified-js (source): source-contains-prebuilt-javascript-object [oldfalsepositives/pandoc/search_index.js]
+cruft-minified-js (source): source-contains-prebuilt-javascript-object [oldfalsepositives/nested-dir/dist/fake.min.js]
+cruft-minified-js (source): source-contains-prebuilt-javascript-object [oldfalsepositives/longlicensetext.js]
+cruft-minified-js (source): source-contains-prebuilt-javascript-object [oldfalsepositives/jslint.js]
+cruft-minified-js (source): source-contains-prebuilt-javascript-object [oldfalsepositives/css_browser_selector.js]
+cruft-minified-js (source): source-contains-prebuilt-javascript-object [oldfalsepositives/-nc.js/test-yc.js]
+cruft-minified-js (source): source-contains-prebuilt-javascript-object [oldfalsepositives/-debug.js/src/test-min.js]
+cruft-minified-js (source): source-contains-prebuilt-javascript-object [build/js/foo.min.js]
diff --git a/t/recipes/checks/files/source-missing/cruft-minified-js/eval/post-test b/t/recipes/checks/files/source-missing/cruft-minified-js/eval/post-test
new file mode 100644
index 0000000..f1d2602
--- /dev/null
+++ b/t/recipes/checks/files/source-missing/cruft-minified-js/eval/post-test
@@ -0,0 +1,4 @@
+s/mean line length is about [0-9]+ characters$/mean line is about NUMBER characters/
+s/line [0-9]+ is [0-9]+ characters long \(>[0-9]+\)$/line POSITION is LENGTH characters long (>CUTOFF)/
+s/code fragment:.*$/code fragment:CODE/
+s/extract of copyright statement:.*/extract of copyright statement: COPYRIGHT/
diff --git a/t/recipes/checks/files/source-missing/cruft-source-is-missing-unrel/build-spec/debian/control.in b/t/recipes/checks/files/source-missing/cruft-source-is-missing-unrel/build-spec/debian/control.in
new file mode 100644
index 0000000..f46d6ef
--- /dev/null
+++ b/t/recipes/checks/files/source-missing/cruft-source-is-missing-unrel/build-spec/debian/control.in
@@ -0,0 +1,15 @@
+Source: [% $source %]
+Priority: optional
+Section: utils
+Maintainer: [% $author %]
+Standards-Version: [% $standards_version %]
+Build-Depends: [% $build_depends %]
+Rules-Requires-Root: no
+
+Package: [% $source %]
+Architecture: [% $package_architecture %]
+Depends: ${shlibs:Depends}, ${misc:Depends}
+Description: [% $description %]
+ This is a test package designed to exercise some feature or tag of
+ Lintian. It is part of the Lintian test suite and may do very odd
+ things. It should not be installed like a regular package.
diff --git a/t/recipes/checks/files/source-missing/cruft-source-is-missing-unrel/build-spec/fill-values b/t/recipes/checks/files/source-missing/cruft-source-is-missing-unrel/build-spec/fill-values
new file mode 100644
index 0000000..1ce50ee
--- /dev/null
+++ b/t/recipes/checks/files/source-missing/cruft-source-is-missing-unrel/build-spec/fill-values
@@ -0,0 +1,5 @@
+Testname: cruft-source-is-missing-unrel
+Skeleton: upload-non-native
+Source-Format: 3.0 (quilt)
+Package-Architecture: any
+Description: Check for source-is-missing false positives
diff --git a/t/recipes/checks/files/source-missing/cruft-source-is-missing-unrel/build-spec/orig/main.c b/t/recipes/checks/files/source-missing/cruft-source-is-missing-unrel/build-spec/orig/main.c
new file mode 100644
index 0000000..2fb04e1
--- /dev/null
+++ b/t/recipes/checks/files/source-missing/cruft-source-is-missing-unrel/build-spec/orig/main.c
@@ -0,0 +1,8 @@
+#include <stdio.h>
+#include <stdlib.h>
+
+int main(int argc, char *argv[]) {
+
+ printf("Hello, World!\n");
+ exit(0);
+}
diff --git a/t/recipes/checks/files/source-missing/cruft-source-is-missing-unrel/build-spec/pre-build b/t/recipes/checks/files/source-missing/cruft-source-is-missing-unrel/build-spec/pre-build
new file mode 100755
index 0000000..db309af
--- /dev/null
+++ b/t/recipes/checks/files/source-missing/cruft-source-is-missing-unrel/build-spec/pre-build
@@ -0,0 +1,11 @@
+#!/bin/sh
+
+set -e
+
+cd "$1"
+
+mkdir -p debian/missing-sources/bar
+cp main.c debian/missing-sources/bar/main.c
+
+ln -s bar debian/missing-sources/foo
+ln -s bar debian/missing-sources/quux
diff --git a/t/recipes/checks/files/source-missing/cruft-source-is-missing-unrel/build-spec/pre-upstream b/t/recipes/checks/files/source-missing/cruft-source-is-missing-unrel/build-spec/pre-upstream
new file mode 100755
index 0000000..fb28255
--- /dev/null
+++ b/t/recipes/checks/files/source-missing/cruft-source-is-missing-unrel/build-spec/pre-upstream
@@ -0,0 +1,11 @@
+#!/bin/sh
+
+set -e
+
+cd "$1"
+
+
+gcc -o foo main.c
+gcc -o bar main.c
+mkdir -p baz/
+gcc -o baz/quux main.c
diff --git a/t/recipes/checks/files/source-missing/cruft-source-is-missing-unrel/eval/desc b/t/recipes/checks/files/source-missing/cruft-source-is-missing-unrel/eval/desc
new file mode 100644
index 0000000..cffe431
--- /dev/null
+++ b/t/recipes/checks/files/source-missing/cruft-source-is-missing-unrel/eval/desc
@@ -0,0 +1,4 @@
+Testname: cruft-source-is-missing-unrel
+Check: files/source-missing
+Test-Against:
+ source-is-missing
diff --git a/t/recipes/checks/files/source-missing/cruft-source-is-missing-unrel/eval/hints b/t/recipes/checks/files/source-missing/cruft-source-is-missing-unrel/eval/hints
new file mode 100644
index 0000000..6fc2d40
--- /dev/null
+++ b/t/recipes/checks/files/source-missing/cruft-source-is-missing-unrel/eval/hints
@@ -0,0 +1,3 @@
+cruft-source-is-missing-unrel (source): source-contains-prebuilt-binary [foo]
+cruft-source-is-missing-unrel (source): source-contains-prebuilt-binary [baz/quux]
+cruft-source-is-missing-unrel (source): source-contains-prebuilt-binary [bar]
diff --git a/t/recipes/checks/files/source-missing/cruft-upstream-binaries/build-spec/fill-values b/t/recipes/checks/files/source-missing/cruft-upstream-binaries/build-spec/fill-values
new file mode 100644
index 0000000..b58a4b1
--- /dev/null
+++ b/t/recipes/checks/files/source-missing/cruft-upstream-binaries/build-spec/fill-values
@@ -0,0 +1,4 @@
+Testname: cruft-upstream-binaries
+Skeleton: upload-non-native
+Source-Format: 3.0 (quilt)
+Description: Check for binaries in the upstream tarball
diff --git a/t/recipes/checks/files/source-missing/cruft-upstream-binaries/build-spec/orig/hello.c b/t/recipes/checks/files/source-missing/cruft-upstream-binaries/build-spec/orig/hello.c
new file mode 100644
index 0000000..1b47b80
--- /dev/null
+++ b/t/recipes/checks/files/source-missing/cruft-upstream-binaries/build-spec/orig/hello.c
@@ -0,0 +1,8 @@
+#include <stdio.h>
+
+int
+main(void)
+{
+ printf("Hello world!\n");
+ return 0;
+}
diff --git a/t/recipes/checks/files/source-missing/cruft-upstream-binaries/build-spec/pre-build b/t/recipes/checks/files/source-missing/cruft-upstream-binaries/build-spec/pre-build
new file mode 100755
index 0000000..b35385b
--- /dev/null
+++ b/t/recipes/checks/files/source-missing/cruft-upstream-binaries/build-spec/pre-build
@@ -0,0 +1,5 @@
+#!/bin/sh
+
+mkdir -p $1/debian/missing-sources
+cp $1/hello.c $1/debian/missing-sources/sourced.c
+ln -s sourced.c $1/debian/missing-sources/symlink-to-sourced.c
diff --git a/t/recipes/checks/files/source-missing/cruft-upstream-binaries/build-spec/pre-upstream b/t/recipes/checks/files/source-missing/cruft-upstream-binaries/build-spec/pre-upstream
new file mode 100755
index 0000000..c94b2d3
--- /dev/null
+++ b/t/recipes/checks/files/source-missing/cruft-upstream-binaries/build-spec/pre-upstream
@@ -0,0 +1,9 @@
+#!/bin/sh
+set -e
+cd "$1"
+gcc -o hello hello.c
+# create non source binary
+cp hello notsourced
+# create two sourced binaries
+cp hello sourced
+cp hello symlink-to-sourced
diff --git a/t/recipes/checks/files/source-missing/cruft-upstream-binaries/eval/desc b/t/recipes/checks/files/source-missing/cruft-upstream-binaries/eval/desc
new file mode 100644
index 0000000..3829781
--- /dev/null
+++ b/t/recipes/checks/files/source-missing/cruft-upstream-binaries/eval/desc
@@ -0,0 +1,2 @@
+Testname: cruft-upstream-binaries
+Check: files/source-missing
diff --git a/t/recipes/checks/files/source-missing/cruft-upstream-binaries/eval/hints b/t/recipes/checks/files/source-missing/cruft-upstream-binaries/eval/hints
new file mode 100644
index 0000000..3c79aaa
--- /dev/null
+++ b/t/recipes/checks/files/source-missing/cruft-upstream-binaries/eval/hints
@@ -0,0 +1,5 @@
+cruft-upstream-binaries (source): source-is-missing [notsourced]
+cruft-upstream-binaries (source): source-contains-prebuilt-binary [symlink-to-sourced]
+cruft-upstream-binaries (source): source-contains-prebuilt-binary [sourced]
+cruft-upstream-binaries (source): source-contains-prebuilt-binary [notsourced]
+cruft-upstream-binaries (source): source-contains-prebuilt-binary [hello]
diff --git a/t/recipes/checks/files/source-missing/cruft-wasm/build-spec/fill-values b/t/recipes/checks/files/source-missing/cruft-wasm/build-spec/fill-values
new file mode 100644
index 0000000..b5cd494
--- /dev/null
+++ b/t/recipes/checks/files/source-missing/cruft-wasm/build-spec/fill-values
@@ -0,0 +1,4 @@
+Testname: cruft-wasm
+Description: Misc errors related to wasm
+Skeleton: upload-non-native
+Extra-Build-Depends: file (>= 1:5.32)
diff --git a/t/recipes/checks/files/source-missing/cruft-wasm/build-spec/orig/README b/t/recipes/checks/files/source-missing/cruft-wasm/build-spec/orig/README
new file mode 100644
index 0000000..a6a4fce
--- /dev/null
+++ b/t/recipes/checks/files/source-missing/cruft-wasm/build-spec/orig/README
@@ -0,0 +1 @@
+This include fake wasm file
diff --git a/t/recipes/checks/files/source-missing/cruft-wasm/build-spec/pre-upstream b/t/recipes/checks/files/source-missing/cruft-wasm/build-spec/pre-upstream
new file mode 100755
index 0000000..12344f9
--- /dev/null
+++ b/t/recipes/checks/files/source-missing/cruft-wasm/build-spec/pre-upstream
@@ -0,0 +1,11 @@
+#!/bin/sh
+#
+# Create all the various junk that shouldn't exist in the diff so that we can
+# trigger all the tags.
+
+set -e
+dir="$1"
+srcdir="$1"
+
+printf "\0asm\001\0\0\0" > "$srcdir/fake.wasm"
+
diff --git a/t/recipes/checks/files/source-missing/cruft-wasm/eval/desc b/t/recipes/checks/files/source-missing/cruft-wasm/eval/desc
new file mode 100644
index 0000000..1168e50
--- /dev/null
+++ b/t/recipes/checks/files/source-missing/cruft-wasm/eval/desc
@@ -0,0 +1,2 @@
+Testname: cruft-wasm
+Check: files/source-missing
diff --git a/t/recipes/checks/files/source-missing/cruft-wasm/eval/hints b/t/recipes/checks/files/source-missing/cruft-wasm/eval/hints
new file mode 100644
index 0000000..43ec573
--- /dev/null
+++ b/t/recipes/checks/files/source-missing/cruft-wasm/eval/hints
@@ -0,0 +1 @@
+cruft-wasm (source): source-contains-prebuilt-wasm-binary [fake.wasm]
diff --git a/t/recipes/checks/files/source-missing/min-js-with-sources/build-spec/debian/missing-sources/ugly/fullpath.js b/t/recipes/checks/files/source-missing/min-js-with-sources/build-spec/debian/missing-sources/ugly/fullpath.js
new file mode 100644
index 0000000..9a338bf
--- /dev/null
+++ b/t/recipes/checks/files/source-missing/min-js-with-sources/build-spec/debian/missing-sources/ugly/fullpath.js
@@ -0,0 +1,529 @@
+/*
+ json.js
+ 2012-10-08
+
+ Public Domain
+
+ No warranty expressed or implied. Use at your own risk.
+
+ This file has been superceded by http://www.JSON.org/json2.js
+
+ See http://www.JSON.org/js.html
+
+ This code should be minified before deployment.
+ See http://javascript.crockford.com/jsmin.html
+
+ USE YOUR OWN COPY. IT IS EXTREMELY UNWISE TO LOAD CODE FROM SERVERS YOU DO
+ NOT CONTROL.
+
+ This file adds these methods to JavaScript:
+
+ object.toJSONString(whitelist)
+ This method produce a JSON text from a JavaScript value.
+ It must not contain any cyclical references. Illegal values
+ will be excluded.
+
+ The default conversion for dates is to an ISO string. You can
+ add a toJSONString method to any date object to get a different
+ representation.
+
+ The object and array methods can take an optional whitelist
+ argument. A whitelist is an array of strings. If it is provided,
+ keys in objects not found in the whitelist are excluded.
+
+ string.parseJSON(filter)
+ This method parses a JSON text to produce an object or
+ array. It can throw a SyntaxError exception.
+
+ The optional filter parameter is a function which can filter and
+ transform the results. It receives each of the keys and values, and
+ its return value is used instead of the original value. If it
+ returns what it received, then structure is not modified. If it
+ returns undefined then the member is deleted.
+
+ Example:
+
+ // Parse the text. If a key contains the string 'date' then
+ // convert the value to a date.
+
+ myData = text.parseJSON(function (key, value) {
+ return key.indexOf('date') >= 0 ? new Date(value) : value;
+ });
+
+ This file will break programs with improper for..in loops. See
+ http://yuiblog.com/blog/2006/09/26/for-in-intrigue/
+
+ This file creates a global JSON object containing two methods: stringify
+ and parse.
+
+ JSON.stringify(value, replacer, space)
+ value any JavaScript value, usually an object or array.
+
+ replacer an optional parameter that determines how object
+ values are stringified for objects. It can be a
+ function or an array of strings.
+
+ space an optional parameter that specifies the indentation
+ of nested structures. If it is omitted, the text will
+ be packed without extra whitespace. If it is a number,
+ it will specify the number of spaces to indent at each
+ level. If it is a string (such as '\t' or '&nbsp;'),
+ it contains the characters used to indent at each level.
+
+ This method produces a JSON text from a JavaScript value.
+
+ When an object value is found, if the object contains a toJSON
+ method, its toJSON method will be called and the result will be
+ stringified. A toJSON method does not serialize: it returns the
+ value represented by the name/value pair that should be serialized,
+ or undefined if nothing should be serialized. The toJSON method
+ will be passed the key associated with the value, and this will be
+ bound to the object holding the key.
+
+ For example, this would serialize Dates as ISO strings.
+
+ Date.prototype.toJSON = function (key) {
+ function f(n) {
+ // Format integers to have at least two digits.
+ return n < 10 ? '0' + n : n;
+ }
+
+ return this.getUTCFullYear() + '-' +
+ f(this.getUTCMonth() + 1) + '-' +
+ f(this.getUTCDate()) + 'T' +
+ f(this.getUTCHours()) + ':' +
+ f(this.getUTCMinutes()) + ':' +
+ f(this.getUTCSeconds()) + 'Z';
+ };
+
+ You can provide an optional replacer method. It will be passed the
+ key and value of each member, with this bound to the containing
+ object. The value that is returned from your method will be
+ serialized. If your method returns undefined, then the member will
+ be excluded from the serialization.
+
+ If the replacer parameter is an array of strings, then it will be
+ used to select the members to be serialized. It filters the results
+ such that only members with keys listed in the replacer array are
+ stringified.
+
+ Values that do not have JSON representations, such as undefined or
+ functions, will not be serialized. Such values in objects will be
+ dropped; in arrays they will be replaced with null. You can use
+ a replacer function to replace those with JSON values.
+ JSON.stringify(undefined) returns undefined.
+
+ The optional space parameter produces a stringification of the
+ value that is filled with line breaks and indentation to make it
+ easier to read.
+
+ If the space parameter is a non-empty string, then that string will
+ be used for indentation. If the space parameter is a number, then
+ the indentation will be that many spaces.
+
+ Example:
+
+ text = JSON.stringify(['e', {pluribus: 'unum'}]);
+ // text is '["e",{"pluribus":"unum"}]'
+
+
+ text = JSON.stringify(['e', {pluribus: 'unum'}], null, '\t');
+ // text is '[\n\t"e",\n\t{\n\t\t"pluribus": "unum"\n\t}\n]'
+
+ text = JSON.stringify([new Date()], function (key, value) {
+ return this[key] instanceof Date ?
+ 'Date(' + this[key] + ')' : value;
+ });
+ // text is '["Date(---current time---)"]'
+
+
+ JSON.parse(text, reviver)
+ This method parses a JSON text to produce an object or array.
+ It can throw a SyntaxError exception.
+
+ The optional reviver parameter is a function that can filter and
+ transform the results. It receives each of the keys and values,
+ and its return value is used instead of the original value.
+ If it returns what it received, then the structure is not modified.
+ If it returns undefined then the member is deleted.
+
+ Example:
+
+ // Parse the text. Values that look like ISO date strings will
+ // be converted to Date objects.
+
+ myData = JSON.parse(text, function (key, value) {
+ var a;
+ if (typeof value === 'string') {
+ a =
+/^(\d{4})-(\d{2})-(\d{2})T(\d{2}):(\d{2}):(\d{2}(?:\.\d*)?)Z$/.exec(value);
+ if (a) {
+ return new Date(Date.UTC(+a[1], +a[2] - 1, +a[3], +a[4],
+ +a[5], +a[6]));
+ }
+ }
+ return value;
+ });
+
+ myData = JSON.parse('["Date(09/09/2001)"]', function (key, value) {
+ var d;
+ if (typeof value === 'string' &&
+ value.slice(0, 5) === 'Date(' &&
+ value.slice(-1) === ')') {
+ d = new Date(value.slice(5, -1));
+ if (d) {
+ return d;
+ }
+ }
+ return value;
+ });
+
+
+ This is a reference implementation. You are free to copy, modify, or
+ redistribute.
+*/
+
+/*jslint evil: true, regexp: true, unparam: true */
+
+/*members "", "\b", "\t", "\n", "\f", "\r", "\"", JSON, "\\", apply,
+ call, charCodeAt, getUTCDate, getUTCFullYear, getUTCHours,
+ getUTCMinutes, getUTCMonth, getUTCSeconds, hasOwnProperty, join,
+ lastIndex, length, parse, parseJSON, prototype, push, replace, slice,
+ stringify, test, toJSON, toJSONString, toString, valueOf
+*/
+
+
+// Create a JSON object only if one does not already exist. We create the
+// methods in a closure to avoid creating global variables.
+
+if (typeof JSON !== 'object') {
+ JSON = {};
+}
+
+(function () {
+ 'use strict';
+
+ function f(n) {
+ // Format integers to have at least two digits.
+ return n < 10 ? '0' + n : n;
+ }
+
+ if (typeof Date.prototype.toJSON !== 'function') {
+
+ Date.prototype.toJSON = function (key) {
+
+ return isFinite(this.valueOf()) ?
+ this.getUTCFullYear() + '-' +
+ f(this.getUTCMonth() + 1) + '-' +
+ f(this.getUTCDate()) + 'T' +
+ f(this.getUTCHours()) + ':' +
+ f(this.getUTCMinutes()) + ':' +
+ f(this.getUTCSeconds()) + 'Z' : null;
+ };
+
+ String.prototype.toJSON =
+ Number.prototype.toJSON =
+ Boolean.prototype.toJSON = function (key) {
+ return this.valueOf();
+ };
+ }
+
+ var cx = /[\u0000\u00ad\u0600-\u0604\u070f\u17b4\u17b5\u200c-\u200f\u2028-\u202f\u2060-\u206f\ufeff\ufff0-\uffff]/g,
+ escapable = /[\\\"\x00-\x1f\x7f-\x9f\u00ad\u0600-\u0604\u070f\u17b4\u17b5\u200c-\u200f\u2028-\u202f\u2060-\u206f\ufeff\ufff0-\uffff]/g,
+ gap,
+ indent,
+ meta = { // table of character substitutions
+ '\b': '\\b',
+ '\t': '\\t',
+ '\n': '\\n',
+ '\f': '\\f',
+ '\r': '\\r',
+ '"' : '\\"',
+ '\\': '\\\\'
+ },
+ rep;
+
+
+ function quote(string) {
+
+// If the string contains no control characters, no quote characters, and no
+// backslash characters, then we can safely slap some quotes around it.
+// Otherwise we must also replace the offending characters with safe escape
+// sequences.
+
+ escapable.lastIndex = 0;
+ return escapable.test(string) ? '"' + string.replace(escapable, function (a) {
+ var c = meta[a];
+ return typeof c === 'string' ? c :
+ '\\u' + ('0000' + a.charCodeAt(0).toString(16)).slice(-4);
+ }) + '"' : '"' + string + '"';
+ }
+
+
+ function str(key, holder) {
+
+// Produce a string from holder[key].
+
+ var i, // The loop counter.
+ k, // The member key.
+ v, // The member value.
+ length,
+ mind = gap,
+ partial,
+ value = holder[key];
+
+// If the value has a toJSON method, call it to obtain a replacement value.
+
+ if (value && typeof value === 'object' &&
+ typeof value.toJSON === 'function') {
+ value = value.toJSON(key);
+ }
+
+// If we were called with a replacer function, then call the replacer to
+// obtain a replacement value.
+
+ if (typeof rep === 'function') {
+ value = rep.call(holder, key, value);
+ }
+
+// What happens next depends on the value's type.
+
+ switch (typeof value) {
+ case 'string':
+ return quote(value);
+
+ case 'number':
+
+// JSON numbers must be finite. Encode non-finite numbers as null.
+
+ return isFinite(value) ? String(value) : 'null';
+
+ case 'boolean':
+ case 'null':
+
+// If the value is a boolean or null, convert it to a string. Note:
+// typeof null does not produce 'null'. The case is included here in
+// the remote chance that this gets fixed someday.
+
+ return String(value);
+
+// If the type is 'object', we might be dealing with an object or an array or
+// null.
+
+ case 'object':
+
+// Due to a specification blunder in ECMAScript, typeof null is 'object',
+// so watch out for that case.
+
+ if (!value) {
+ return 'null';
+ }
+
+// Make an array to hold the partial results of stringifying this object value.
+
+ gap += indent;
+ partial = [];
+
+// Is the value an array?
+
+ if (Object.prototype.toString.apply(value) === '[object Array]') {
+
+// The value is an array. Stringify every element. Use null as a placeholder
+// for non-JSON values.
+
+ length = value.length;
+ for (i = 0; i < length; i += 1) {
+ partial[i] = str(i, value) || 'null';
+ }
+
+// Join all of the elements together, separated with commas, and wrap them in
+// brackets.
+
+ v = partial.length === 0 ? '[]' : gap ?
+ '[\n' + gap + partial.join(',\n' + gap) + '\n' + mind + ']' :
+ '[' + partial.join(',') + ']';
+ gap = mind;
+ return v;
+ }
+
+// If the replacer is an array, use it to select the members to be stringified.
+
+ if (rep && typeof rep === 'object') {
+ length = rep.length;
+ for (i = 0; i < length; i += 1) {
+ k = rep[i];
+ if (typeof k === 'string') {
+ v = str(k, value);
+ if (v) {
+ partial.push(quote(k) + (gap ? ': ' : ':') + v);
+ }
+ }
+ }
+ } else {
+
+// Otherwise, iterate through all of the keys in the object.
+
+ for (k in value) {
+ if (Object.prototype.hasOwnProperty.call(value, k)) {
+ v = str(k, value);
+ if (v) {
+ partial.push(quote(k) + (gap ? ': ' : ':') + v);
+ }
+ }
+ }
+ }
+
+// Join all of the member texts together, separated with commas,
+// and wrap them in braces.
+
+ v = partial.length === 0 ? '{}' : gap ?
+ '{\n' + gap + partial.join(',\n' + gap) + '\n' + mind + '}' :
+ '{' + partial.join(',') + '}';
+ gap = mind;
+ return v;
+ }
+ }
+
+// If the JSON object does not yet have a stringify method, give it one.
+
+ if (typeof JSON.stringify !== 'function') {
+ JSON.stringify = function (value, replacer, space) {
+
+// The stringify method takes a value and an optional replacer, and an optional
+// space parameter, and returns a JSON text. The replacer can be a function
+// that can replace values, or an array of strings that will select the keys.
+// A default replacer method can be provided. Use of the space parameter can
+// produce text that is more easily readable.
+
+ var i;
+ gap = '';
+ indent = '';
+
+// If the space parameter is a number, make an indent string containing that
+// many spaces.
+
+ if (typeof space === 'number') {
+ for (i = 0; i < space; i += 1) {
+ indent += ' ';
+ }
+
+// If the space parameter is a string, it will be used as the indent string.
+
+ } else if (typeof space === 'string') {
+ indent = space;
+ }
+
+// If there is a replacer, it must be a function or an array.
+// Otherwise, throw an error.
+
+ rep = replacer;
+ if (replacer && typeof replacer !== 'function' &&
+ (typeof replacer !== 'object' ||
+ typeof replacer.length !== 'number')) {
+ throw new Error('JSON.stringify');
+ }
+
+// Make a fake root object containing our value under the key of ''.
+// Return the result of stringifying the value.
+
+ return str('', {'': value});
+ };
+ }
+
+
+// If the JSON object does not yet have a parse method, give it one.
+
+ if (typeof JSON.parse !== 'function') {
+ JSON.parse = function (text, reviver) {
+
+// The parse method takes a text and an optional reviver function, and returns
+// a JavaScript value if the text is a valid JSON text.
+
+ var j;
+
+ function walk(holder, key) {
+
+// The walk method is used to recursively walk the resulting structure so
+// that modifications can be made.
+
+ var k, v, value = holder[key];
+ if (value && typeof value === 'object') {
+ for (k in value) {
+ if (Object.prototype.hasOwnProperty.call(value, k)) {
+ v = walk(value, k);
+ if (v !== undefined) {
+ value[k] = v;
+ } else {
+ delete value[k];
+ }
+ }
+ }
+ }
+ return reviver.call(holder, key, value);
+ }
+
+
+// Parsing happens in four stages. In the first stage, we replace certain
+// Unicode characters with escape sequences. JavaScript handles many characters
+// incorrectly, either silently deleting them, or treating them as line endings.
+
+ text = String(text);
+ cx.lastIndex = 0;
+ if (cx.test(text)) {
+ text = text.replace(cx, function (a) {
+ return '\\u' +
+ ('0000' + a.charCodeAt(0).toString(16)).slice(-4);
+ });
+ }
+
+// In the second stage, we run the text against regular expressions that look
+// for non-JSON patterns. We are especially concerned with '()' and 'new'
+// because they can cause invocation, and '=' because it can cause mutation.
+// But just to be safe, we want to reject all unexpected forms.
+
+// We split the second stage into 4 regexp operations in order to work around
+// crippling inefficiencies in IE's and Safari's regexp engines. First we
+// replace the JSON backslash pairs with '@' (a non-JSON character). Second, we
+// replace all simple value tokens with ']' characters. Third, we delete all
+// open brackets that follow a colon or comma or that begin the text. Finally,
+// we look to see that the remaining characters are only whitespace or ']' or
+// ',' or ':' or '{' or '}'. If that is so, then the text is safe for eval.
+
+ if (/^[\],:{}\s]*$/
+ .test(text.replace(/\\(?:["\\\/bfnrt]|u[0-9a-fA-F]{4})/g, '@')
+ .replace(/"[^"\\\n\r]*"|true|false|null|-?\d+(?:\.\d*)?(?:[eE][+\-]?\d+)?/g, ']')
+ .replace(/(?:^|:|,)(?:\s*\[)+/g, ''))) {
+
+// In the third stage we use the eval function to compile the text into a
+// JavaScript structure. The '{' operator is subject to a syntactic ambiguity
+// in JavaScript: it can begin a block or an object literal. We wrap the text
+// in parens to eliminate the ambiguity.
+
+ j = eval('(' + text + ')');
+
+// In the optional fourth stage, we recursively walk the new structure, passing
+// each name/value pair to a reviver function for possible transformation.
+
+ return typeof reviver === 'function' ?
+ walk({'': j}, '') : j;
+ }
+
+// If the text is not JSON parseable, then a SyntaxError is thrown.
+
+ throw new SyntaxError('JSON.parse');
+ };
+ }
+
+// Augment the basic prototypes if they have not already been augmented.
+// These forms are obsolete. It is recommended that JSON.stringify and
+// JSON.parse be used instead.
+
+ if (!Object.prototype.toJSONString) {
+ Object.prototype.toJSONString = function (filter) {
+ return JSON.stringify(this, filter);
+ };
+ Object.prototype.parseJSON = function (filter) {
+ return JSON.parse(this, filter);
+ };
+ }
+}());
diff --git a/t/recipes/checks/files/source-missing/min-js-with-sources/build-spec/fill-values b/t/recipes/checks/files/source-missing/min-js-with-sources/build-spec/fill-values
new file mode 100644
index 0000000..89b1eef
--- /dev/null
+++ b/t/recipes/checks/files/source-missing/min-js-with-sources/build-spec/fill-values
@@ -0,0 +1,4 @@
+Skeleton: source-native
+Testname: min-js-with-sources
+Description: Minified JavaScript with sources
+Extra-Build-Depends: uglifyjs
diff --git a/t/recipes/checks/files/source-missing/min-js-with-sources/build-spec/pre-build b/t/recipes/checks/files/source-missing/min-js-with-sources/build-spec/pre-build
new file mode 100755
index 0000000..2c47e53
--- /dev/null
+++ b/t/recipes/checks/files/source-missing/min-js-with-sources/build-spec/pre-build
@@ -0,0 +1,22 @@
+#!/bin/sh
+#
+# Create all the various junk that shouldn't exist in the diff so that we can
+# trigger all the tags.
+
+set -e
+dir="$1"
+
+sourcedir="$dir/debian/missing-sources"
+sourcejs="$sourcedir/ugly/fullpath.js"
+uglydir="$dir/ugly"
+uglyjs="$uglydir/fullpath.min.js"
+
+mkdir -p "$uglydir"
+
+# create a js file
+uglifyjs -o "$uglyjs" "$sourcejs"
+
+cp "$sourcejs" "$sourcedir/basename.js"
+cp "$uglyjs" "$uglydir/basename.min.js"
+
+cp "$uglyjs" "$uglydir/missing-source.min.js"
diff --git a/t/recipes/checks/files/source-missing/min-js-with-sources/eval/desc b/t/recipes/checks/files/source-missing/min-js-with-sources/eval/desc
new file mode 100644
index 0000000..82874fa
--- /dev/null
+++ b/t/recipes/checks/files/source-missing/min-js-with-sources/eval/desc
@@ -0,0 +1,4 @@
+Testname: min-js-with-sources
+Check: files/source-missing
+See-Also:
+ Bug#962583
diff --git a/t/recipes/checks/files/source-missing/min-js-with-sources/eval/hints b/t/recipes/checks/files/source-missing/min-js-with-sources/eval/hints
new file mode 100644
index 0000000..8e5d657
--- /dev/null
+++ b/t/recipes/checks/files/source-missing/min-js-with-sources/eval/hints
@@ -0,0 +1,4 @@
+min-js-with-sources (source): source-is-missing [ugly/missing-source.min.js]
+min-js-with-sources (source): source-contains-prebuilt-javascript-object [ugly/missing-source.min.js]
+min-js-with-sources (source): source-contains-prebuilt-javascript-object [ugly/fullpath.min.js]
+min-js-with-sources (source): source-contains-prebuilt-javascript-object [ugly/basename.min.js]