diff options
Diffstat (limited to 'tests/ubi-tests/mkvol_bad.c')
-rw-r--r-- | tests/ubi-tests/mkvol_bad.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/ubi-tests/mkvol_bad.c b/tests/ubi-tests/mkvol_bad.c index 7e46726..a5143e3 100644 --- a/tests/ubi-tests/mkvol_bad.c +++ b/tests/ubi-tests/mkvol_bad.c @@ -200,7 +200,7 @@ static int test_mkvol(void) * Note, because of gluebi we may be unable to create * dev_info.max_vol_count devices (MTD restrictions). */ - if (errno == ENFILE) + if (errno == ENFILE || errno == ENOSPC) break; failed("ubi_mkvol"); errorm("vol_id %d", i); |