-
Notifications
You must be signed in to change notification settings - Fork 197
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
6 changed files
with
52 additions
and
46 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
Submodule libdnf
updated
5 files
+1 −1 | VERSION.cmake | |
+0 −3 | bindings/python/CMakeLists.txt | |
+1 −1 | libdnf.spec | |
+12 −0 | libdnf/transaction/MergedTransaction.cpp | |
+1 −0 | libdnf/transaction/MergedTransaction.hpp |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
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 @@ | ||
../../common |
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,25 @@ | ||
#!/bin/bash | ||
set -euo pipefail | ||
|
||
. ${KOLA_EXT_DATA}/libtest-core.sh | ||
cd $(mktemp -d) | ||
|
||
# Verify operations as non-root | ||
runuser -u core rpm-ostree status | ||
echo "ok status doesn't require root" | ||
|
||
# StateRoot is only in --verbose | ||
rpm-ostree status > status.txt | ||
assert_not_file_has_content status.txt StateRoot: | ||
rpm-ostree status -v > status.txt | ||
assert_file_has_content status.txt StateRoot: | ||
echo "ok status text" | ||
|
||
# Also check that we can do status as non-root non-active | ||
runuser -u bin rpm-ostree status | ||
echo "ok status doesn't require active PAM session" | ||
|
||
rpm-ostree status -b > status.txt | ||
assert_streq $(grep -F -e 'ostree://' status.txt | wc -l) "1" | ||
assert_file_has_content status.txt BootedDeployment: | ||
echo "ok status -b" |
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