overlay/036: filter busy mount message
authorEryu Guan <eguan@redhat.com>
Tue, 14 Nov 2017 08:56:00 +0000 (16:56 +0800)
committerEryu Guan <eguan@redhat.com>
Sun, 26 Nov 2017 07:38:55 +0000 (15:38 +0800)
commit40737eac013e03d7daa09dbf0de8887f14a23853
tree483cd1d770e5e35529ecc76e6150cb4f7e875035
parent94d3a4f00cbd087bed36726fd29acf2f3e82944f
overlay/036: filter busy mount message

util-linux v2.30 changed error message of a busy mount and caused
overlay/036 to fail. e.g.

 - mount: <device> is already mounted or <mountpoint> busy
 + mount: <mountpoint>: <device> already mounted or mount point busy.

Filter the mount output by a newly introduced _filter_busy_mount
into a unified format.

   mount: device already mounted or mount point busy

Reviewed-by: Amir Goldstein <amir73il@gmail.com>
Signed-off-by: Eryu Guan <eguan@redhat.com>
common/filter
tests/overlay/036
tests/overlay/036.out