diff --git a/syft/file/test-fixtures/classifiers/negative/.gitignore b/syft/file/test-fixtures/classifiers/negative/.gitignore new file mode 100644 index 000000000..7424f9e48 --- /dev/null +++ b/syft/file/test-fixtures/classifiers/negative/.gitignore @@ -0,0 +1 @@ +!libpython2.7.so \ No newline at end of file diff --git a/syft/file/test-fixtures/classifiers/negative/libpython2.7.so b/syft/file/test-fixtures/classifiers/negative/libpython2.7.so new file mode 100644 index 000000000..f9e8d96f4 --- /dev/null +++ b/syft/file/test-fixtures/classifiers/negative/libpython2.7.so @@ -0,0 +1,3 @@ +# note: this should NOT match + +DO NOT DETECT \ No newline at end of file diff --git a/syft/file/test-fixtures/classifiers/positive/.gitignore b/syft/file/test-fixtures/classifiers/positive/.gitignore new file mode 100644 index 000000000..5b1ba3eb4 --- /dev/null +++ b/syft/file/test-fixtures/classifiers/positive/.gitignore @@ -0,0 +1 @@ +!libpython3.7.so \ No newline at end of file diff --git a/syft/file/test-fixtures/classifiers/positive/libpython3.7.so b/syft/file/test-fixtures/classifiers/positive/libpython3.7.so new file mode 100644 index 000000000..aea0d1091 --- /dev/null +++ b/syft/file/test-fixtures/classifiers/positive/libpython3.7.so @@ -0,0 +1,2 @@ +# note: this SHOULD match as python 3.7 +noise3.7.4a-vZ9!morenoise \ No newline at end of file