diff options
| author | mo khan <mo.khan@gmail.com> | 2020-11-14 20:08:55 -0700 |
|---|---|---|
| committer | mo khan <mo.khan@gmail.com> | 2020-11-14 20:08:55 -0700 |
| commit | da459f05c0bdc8e8f65f6a8a20535c67e85d5771 (patch) | |
| tree | 597cfe0ed05c6f53343ea72d54170fb0823cbaaa /spec/integration | |
| parent | e2fd48f6c9b8716ded9075077a0159fc44fdbb94 (diff) | |
test: add integration test for scanning apk db
Diffstat (limited to 'spec/integration')
| -rw-r--r-- | spec/integration/cli/scan_spec.rb | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/spec/integration/cli/scan_spec.rb b/spec/integration/cli/scan_spec.rb index 1a6b3f2..f9f3963 100644 --- a/spec/integration/cli/scan_spec.rb +++ b/spec/integration/cli/scan_spec.rb @@ -30,4 +30,9 @@ RSpec.describe '`spandx scan` command', type: :cli do output = `spandx scan #{fixture_file('composer/composer.lock')} 2> /dev/null` expect(output).to eq(fixture_file_content('composer/composer.lock.expected')) end + + it 'executes `spandx scan /lib/apk/db/installed' do + output = `spandx scan #{fixture_file('os/apk/db/installed')} 2> /dev/null` + expect(output).to eq(fixture_file_content('os/apk/db/installed.expected')) + end end |
