-
Notifications
You must be signed in to change notification settings - Fork 119
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1248 from i12momal/rama5
Replace bin in easy tests
- Loading branch information
Showing
10 changed files
with
1,358 additions
and
23 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
from Testing import get_tested_mock_package | ||
|
||
APPDATA = get_tested_mock_package( | ||
files={ | ||
'/usr/share/appdata/broken.appdata.xml': { | ||
'content-path': 'files/broken.appdata.xml', | ||
'create_dirs': True}, | ||
'/usr/share/appdata/broken-xml.metainfo.xml': { | ||
'content-path': 'files/broken-xml.metainfo.xml', | ||
'create_dirs': True} | ||
}) | ||
|
||
APPDATA2 = get_tested_mock_package( | ||
files={ | ||
'/usr/share/appdata/broken-xml.metainfo.xml': { | ||
'content-path': 'files/broken-xml.metainfo.xml', | ||
'create_dirs': True} | ||
}) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
from Testing import get_tested_mock_package | ||
|
||
BUILDROOT = get_tested_mock_package( | ||
files={ | ||
'/bin/trace': {'content': '/home/marxin/rpmbuild/BUILDROOT/buildroot-0-0.x86_64'} | ||
}) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
from Testing import get_tested_mock_package | ||
|
||
DBUSPOLICY = get_tested_mock_package( | ||
files={ | ||
'/etc/dbus-1/system.d/noxml.conf': { | ||
'content': '', | ||
}, | ||
'/etc/dbus-1/system.d/org.freedesktop.NetworkManager.conf': { | ||
'content': """ | ||
<busconfig> | ||
<policy user="root"> | ||
<allow send_interface="org.freedesktop.NetworkManager.PPP"/> | ||
<allow receive_sender="foo"/> | ||
</policy> | ||
<policy> | ||
<deny send_interface="org.freedesktop.NetworkManager.Settings" send_member="ReloadConnections"/> | ||
</policy> | ||
</busconfig> | ||
""", | ||
}, | ||
'/etc/dbus-1/system.d/org.freedesktop.NetworkManager2.conf': { | ||
'content': """ | ||
<busconfig> | ||
<policy user="root"> | ||
<!-- No allow policies --> | ||
</policy> | ||
</busconfig> | ||
""", | ||
}}) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters