Skip to content

Commit

Permalink
test/includes/microcloud: simplify rm -rf globbing
Browse files Browse the repository at this point in the history
Signed-off-by: Simon Deziel <[email protected]>
  • Loading branch information
simondeziel committed Apr 18, 2024
1 parent acac9e8 commit a889393
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions microcloud/test/includes/microcloud.sh
Original file line number Diff line number Diff line change
Expand Up @@ -423,7 +423,7 @@ reset_snaps() {
fi
rm -rf /var/snap/lxd/common/lxd
rm -rf /var/snap/microcloud/*/*
rm -rf /var/snap/microcloud/*
"

echo "Resetting MicroCeph for ${name}"
Expand All @@ -440,7 +440,7 @@ reset_snaps() {
modprobe -r rbd ceph
# Wipe the snap state so we can start fresh.
rm -rf /var/snap/microceph/*/*
rm -rf /var/snap/microceph/*
snap enable microceph > /dev/null 2>&1 || true
# microceph.osd requires this directory to exist but doesn't create it after install.
Expand All @@ -464,7 +464,7 @@ reset_snaps() {
fi
# Wipe the snap state so we can start fresh.
rm -rf /var/snap/microovn/*/*
rm -rf /var/snap/microovn/*
snap enable microovn > /dev/null 2>&1 || true
fi
"
Expand Down

0 comments on commit a889393

Please sign in to comment.