Skip to content

Commit

Permalink
rpm-ostree: Update unit tests for rw karg
Browse files Browse the repository at this point in the history
  • Loading branch information
travier committed Jul 28, 2022
1 parent 8badb82 commit e46e1c8
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -540,7 +540,7 @@ def test_btrfs_run(self, devdata_mock, storage_mock, symlink_mock, rename_mock,
exec_mock.assert_called_once_with(
"ostree",
["admin", "instutil", "set-kargs", "BOOTLOADER-ARGS", "root=FSTAB-SPEC",
"rootflags=subvol=device-name"],
"rootflags=subvol=device-name", "rw"],
root=sysroot
)

Expand Down Expand Up @@ -576,7 +576,7 @@ def test_nonbtrfs_run(self, devdata_mock, storage_mock, symlink_mock, rename_moc
)
exec_mock.assert_called_once_with(
"ostree",
["admin", "instutil", "set-kargs", "BOOTLOADER-ARGS", "root=FSTAB-SPEC"],
["admin", "instutil", "set-kargs", "BOOTLOADER-ARGS", "root=FSTAB-SPEC", "rw"],
root=sysroot
)

Expand Down

0 comments on commit e46e1c8

Please sign in to comment.