Skip to content

Commit c93706d

Browse files
committed
fix: sleep during test, use cmp
Signed-off-by: Luca Di Maio <luca.dimaio1@gmail.com>
1 parent 0266ad0 commit c93706d

1 file changed

Lines changed: 5 additions & 3 deletions

File tree

xfsprogs.yaml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -251,6 +251,9 @@ subpackages:
251251
-n version=2 \
252252
-p file=/usr \
253253
xfs1.img
254+
255+
sleep 5
256+
254257
mkfs.xfs \
255258
-b size=4096 \
256259
-d agcount=4 \
@@ -268,9 +271,8 @@ subpackages:
268271
-n version=2 \
269272
-p file=/usr \
270273
xfs2.img
271-
hash1="$(md5sum xfs1.img | cut -d' ' -f1)"
272-
hash2="$(md5sum xfs2.img | cut -d' ' -f1)"
273-
[ "$hash1" = "$hash2" ] || exit 1
274+
275+
cmp xfs1.img xfs2.img
274276
275277
update:
276278
enabled: true

0 commit comments

Comments
 (0)