summaryrefslogtreecommitdiffstats
path: root/t/recipes/checks/files/config-scripts/files-old-config-script/eval
diff options
context:
space:
mode:
Diffstat (limited to 't/recipes/checks/files/config-scripts/files-old-config-script/eval')
-rw-r--r--t/recipes/checks/files/config-scripts/files-old-config-script/eval/desc3
-rw-r--r--t/recipes/checks/files/config-scripts/files-old-config-script/eval/hints16
-rw-r--r--t/recipes/checks/files/config-scripts/files-old-config-script/eval/post-test3
3 files changed, 22 insertions, 0 deletions
diff --git a/t/recipes/checks/files/config-scripts/files-old-config-script/eval/desc b/t/recipes/checks/files/config-scripts/files-old-config-script/eval/desc
new file mode 100644
index 0000000..a7dd4d9
--- /dev/null
+++ b/t/recipes/checks/files/config-scripts/files-old-config-script/eval/desc
@@ -0,0 +1,3 @@
+Testname: files-old-config-script
+Check: files/config-scripts
+Test-Architectures: amd64
diff --git a/t/recipes/checks/files/config-scripts/files-old-config-script/eval/hints b/t/recipes/checks/files/config-scripts/files-old-config-script/eval/hints
new file mode 100644
index 0000000..115ae53
--- /dev/null
+++ b/t/recipes/checks/files/config-scripts/files-old-config-script/eval/hints
@@ -0,0 +1,16 @@
+config-ma-no (binary): old-style-config-script [usr/bin/arch-no-config]
+config-ma-no (binary): old-style-config-script [usr/bin/arch-cross-no-config]
+config-ma-foreign (binary): old-style-config-script-multiarch-path full text contains architecture specific dir x86_64-linux-gnu [usr/bin/arch-foreign-config]
+config-ma-foreign (binary): old-style-config-script-multiarch-path full text contains architecture specific dir i386-linux-gnu [usr/bin/x86_64-linux-gnu_-arch-cross-foreign-config]
+config-ma-foreign (binary): old-style-config-script-multiarch-path full text contains architecture specific dir i386-linux-gnu [usr/bin/arch-cross-foreign-config]
+config-ma-foreign (binary): old-style-config-script [usr/bin/x86_64-linux-gnu_-arch-foreign-config]
+config-ma-foreign (binary): old-style-config-script [usr/bin/x86_64-linux-gnu_-arch-cross-foreign-config]
+config-ma-foreign (binary): old-style-config-script [usr/bin/arch-foreign-config]
+config-ma-foreign (binary): old-style-config-script [usr/bin/arch-cross-foreign-config]
+config-all (binary): old-style-config-script-multiarch-path-arch-all full text contains architecture specific dir x86_64-linux-gnu [usr/bin/arch-all-config]
+config-all (binary): old-style-config-script-multiarch-path-arch-all full text contains architecture specific dir i386-linux-gnu [usr/bin/x86_64-linux-gnu_-arch-cross-all-config]
+config-all (binary): old-style-config-script-multiarch-path-arch-all full text contains architecture specific dir i386-linux-gnu [usr/bin/arch-cross-all-config]
+config-all (binary): old-style-config-script [usr/bin/x86_64-linux-gnu_-arch-cross-all-config]
+config-all (binary): old-style-config-script [usr/bin/x86_64-linux-gnu_-arch-all-config]
+config-all (binary): old-style-config-script [usr/bin/arch-cross-all-config]
+config-all (binary): old-style-config-script [usr/bin/arch-all-config]
diff --git a/t/recipes/checks/files/config-scripts/files-old-config-script/eval/post-test b/t/recipes/checks/files/config-scripts/files-old-config-script/eval/post-test
new file mode 100644
index 0000000..686ad87
--- /dev/null
+++ b/t/recipes/checks/files/config-scripts/files-old-config-script/eval/post-test
@@ -0,0 +1,3 @@
+s/full text contains architecture specific dir \S+$/full text contains architecture specific dir ARCH/
+s, usr/lib/[^/]+/, usr/lib/ARCH/,
+s, usr/bin/[^/]+_-, usr/bin/TRIPLET_-,