Skip to content

Commit

Permalink
test: Don't use /home in tests
Browse files Browse the repository at this point in the history
It might already be used by the OS, of course.
  • Loading branch information
mvollmer authored and martinpitt committed Jan 22, 2024
1 parent 1ce1843 commit 31acdcf
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/verify/check-storage-btrfs
Original file line number Diff line number Diff line change
Expand Up @@ -621,10 +621,10 @@ ExecStart=/usr/bin/sleep infinity
# Add some fstab entries. Cockpit should pick up the
# subvolumes mentioned in them and show them.

m.execute(f"echo >>/etc/fstab '{disk} /home auto noauto,subvol=home 0 0'")
m.execute(f"echo >>/etc/fstab '{disk} /mnt/home auto noauto,subvol=home 0 0'")
m.execute(f"echo >>/etc/fstab '{disk} /mnt/backups auto noauto,subvol=backups 0 0'")

b.wait_text(self.card_row_col("btrfs subvolumes", row_name="home", col_index=3), "/home (not mounted)")
b.wait_text(self.card_row_col("btrfs subvolumes", row_name="home", col_index=3), "/mnt/home (not mounted)")
b.wait_text(self.card_row_col("btrfs subvolumes", row_name="backups", col_index=3), "/mnt/backups (not mounted)")


Expand Down

0 comments on commit 31acdcf

Please sign in to comment.