Skip to content

Commit

Permalink
Add remove suite back
Browse files Browse the repository at this point in the history
Signed-off-by: Lance Albertson <lance@osuosl.org>
  • Loading branch information
ramereth committed Oct 13, 2021
1 parent 9b228b3 commit 0109324
Show file tree
Hide file tree
Showing 5 changed files with 23 additions and 62 deletions.
3 changes: 3 additions & 0 deletions kitchen.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,9 @@ suites:
- name: create
run_list:
- recipe[test::create]
- name: remove
run_list:
- recipe[test::remove]
- name: create_thin
run_list:
- recipe[test::create_thin]
Expand Down
50 changes: 0 additions & 50 deletions test/integration/remove/bats/verify_removed.bats

This file was deleted.

20 changes: 20 additions & 0 deletions test/integration/remove/remove_spec.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
describe command 'pvs' do
its('stdout') { should match %r{/dev/loop10\s+vg-rmdata\s+lvm2\s+a--\s+124.00m\s+124.00m} }
its('stdout') { should match %r{/dev/loop11\s+vg-rmdata\s+lvm2\s+a--\s+124.00m\s+124.00m} }
its('stdout') { should match %r{/dev/loop12\s+vg-rmdata\s+lvm2\s+a--\s+124.00m\s+124.00m} }
its('stdout') { should match %r{/dev/loop13\s+vg-rmdata\s+lvm2\s+a--\s+124.00m\s+124.00m} }
end

describe command 'lvs' do
its('stdout') { should_not match 'rmlogs' }
its('stdout') { should_not match 'rmtest' }
end

describe directory '/mnt/rmlogs' do
it { should exist }
its('mode') { should cmp '0755' }
end

describe directory '/mnt/rmtest' do
it { should_not exist }
end
6 changes: 0 additions & 6 deletions test/integration/resize_thin/bats-old/verify_resize_thin.bats

This file was deleted.

This file was deleted.

0 comments on commit 0109324

Please sign in to comment.