diff options
Diffstat (limited to 'tests/ts/swapon/label')
-rwxr-xr-x | tests/ts/swapon/label | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/ts/swapon/label b/tests/ts/swapon/label index bbcd771be..056953a29 100755 --- a/tests/ts/swapon/label +++ b/tests/ts/swapon/label @@ -35,6 +35,8 @@ DEVICE=$TS_LODEV $TS_CMD_MKSWAP -L $LABEL $DEVICE > /dev/null 2>> $TS_OUTPUT \ || ts_die "Cannot make swap on $DEVICE" +udevadm settle + ts_device_has "LABEL" $LABEL $DEVICE \ || ts_die "Cannot find LABEL '$LABEL' on $DEVICE" |