Skip to content

Commit

Permalink
Fix building in s390x
Browse files Browse the repository at this point in the history
  • Loading branch information
imobachgs committed Nov 22, 2016
1 parent 9cdbfe0 commit 61ae92d
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 9 deletions.
6 changes: 6 additions & 0 deletions package/autoyast2.changes
@@ -1,3 +1,9 @@
-------------------------------------------------------------------
Tue Nov 22 15:23:44 UTC 2016 - igonzalezsosa@suse.com

- Fix building on s390x (bsc#1011489)
- 3.1.151.2

-------------------------------------------------------------------
Mon Oct 24 09:04:25 UTC 2016 - igonzalezsosa@suse.com

Expand Down
2 changes: 1 addition & 1 deletion package/autoyast2.spec
Expand Up @@ -17,7 +17,7 @@


Name: autoyast2
Version: 3.1.151.1
Version: 3.1.151.2
Release: 0

BuildRoot: %{_tmppath}/%{name}-%{version}-build
Expand Down
13 changes: 5 additions & 8 deletions test/AutoinstPartPlan_test.rb
Expand Up @@ -45,14 +45,11 @@
expect(Yast::Storage).to receive(:GetTargetMap).and_return(target_map)
expect(Yast::AutoinstPartPlan.Read).to eq(true)
export = Yast::AutoinstPartPlan.Export.select { |d| d.key?("skip_list") }
expect(export).to eq(
[ { "initialize"=>true,
"skip_list"=>
[{"skip_key"=>"device", "skip_value"=>"/dev/sdb"},
{"skip_key"=>"device", "skip_value"=>"/dev/sde"}]
}
]
)

expect(export[0]).to include("initialize" => true)
skip_list = export[0]["skip_list"]
expect(skip_list).to all(include("skip_key" => "device"))
expect(skip_list).to all(include("skip_value" => /\/dev\//))
end
end

Expand Down

0 comments on commit 61ae92d

Please sign in to comment.