generic/108: skip test if we can't initialize scsi_debug
authorDarrick J. Wong <darrick.wong@oracle.com>
Thu, 16 Jan 2020 05:11:13 +0000 (21:11 -0800)
committerEryu Guan <guaneryu@gmail.com>
Sun, 2 Feb 2020 13:17:29 +0000 (21:17 +0800)
commit7d05ebe51ba426728bdf358b550674ef88c6e09a
tree4894070f0132000cc3e2dd185dd272c557d9e2c0
parentcfa9327172d4ab5184d4d1dae20288cb9fc45867
generic/108: skip test if we can't initialize scsi_debug

Correct the logic in this test that detects failed scsi_debug
initializations.  Downgrade the reaction to _notrun since the filesystem
under test did not fail, just our mockup disk.

Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Eryu Guan <guaneryu@gmail.com>
tests/generic/108