Skip to content

Commit

Permalink
spec/xfstests_spec.rb: resolve rubocop issue
Browse files Browse the repository at this point in the history
Signed-off-by: Philip Li <[email protected]>
  • Loading branch information
rli9 committed Jun 5, 2024
1 parent 01d5724 commit 01cfc2f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions spec/xfstests_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
{ test: 'xfs-275', group: 'xfs-logdev' },
{ test: 'xfs-realtime', group: 'xfs-realtime.*' },
{ test: 'xfs-realtime-scratch-rmapbt', group: 'xfs-realtime.*' },
{ test: 'generic-scratch-reflink-01', group: '(xfs|generic)-scratch-reflink-[0-9]*'}
{ test: 'generic-scratch-reflink-01', group: '(xfs|generic)-scratch-reflink-[0-9]*' }
].each do |entry|
it "#{entry[:test]} belongs to #{entry[:group]}" do
expect(Bash.call("source #{LKP_SRC}/lib/tests/xfstests.sh; export BENCHMARK_ROOT=#{@benchmark_root}; is_test_in_group \"#{entry[:test]}\" \"#{entry[:group]}\"; echo $?")).to eq('0')
Expand All @@ -36,7 +36,7 @@
{ test: 'xfs-115', group: 'generic-dax' },
{ test: 'generic-510', group: 'generic-dax' },
{ test: 'xfs-114', group: 'xfs-scratch-reflink-[0-9]*' },
{ test: 'xfs-scratch-reflink', group: 'xfs-scratch-reflink-scratch-rmapbt' },
{ test: 'xfs-scratch-reflink', group: 'xfs-scratch-reflink-scratch-rmapbt' }
].each do |entry|
it "#{entry[:test]} not belongs to #{entry[:group]}" do
expect(Bash.call("source #{LKP_SRC}/lib/tests/xfstests.sh; export BENCHMARK_ROOT=#{@benchmark_root}; is_test_in_group \"#{entry[:test]}\" \"#{entry[:group]}\"; echo $?")).to eq('1')
Expand Down

0 comments on commit 01cfc2f

Please sign in to comment.