Skip to content

Commit

Permalink
tests: fix float vs int in backup test
Browse files Browse the repository at this point in the history
(cherry picked from commit 7b0d249)
  • Loading branch information
marmarek committed May 13, 2023
1 parent 3a2efca commit 214bfb6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion qubes/tests/integ/backupcompatibility.py
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ def create_private_img(self, filename):
subprocess.check_call(["/usr/sbin/mkfs.ext4", "-q", "-F", filename])

def create_volatile_img(self, filename):
self.create_sparse(filename, 11.5*2**30)
self.create_sparse(filename, int(11.5*2**30))
# here used to be sfdisk call with "0,1024,S\n,10240,L\n" input,
# but since sfdisk folks like to change command arguments in
# incompatible way, have an partition table verbatim here
Expand Down

0 comments on commit 214bfb6

Please sign in to comment.