Parcourir la source

Add missing iterations in tests

Sosthène Guédon il y a 2 ans
Parent
commit
24795e6b74
1 fichiers modifiés avec 2 ajouts et 2 suppressions
  1. 2 2
      tests/test_dirs.toml

+ 2 - 2
tests/test_dirs.toml

@@ -727,7 +727,7 @@ code = '''
     }
     lfs_unmount(&lfs) => 0;
 
-    for (int j = 2; j < COUNT; j++) {
+    for (int j = 2; j < COUNT + 2; j++) {
         lfs_mount(&lfs, &cfg) => 0;
         lfs_dir_open(&lfs, &dir, "hello") => 0;
         lfs_dir_read(&lfs, &dir, &info) => 1;
@@ -787,7 +787,7 @@ code = '''
     }
     lfs_unmount(&lfs) => 0;
 
-    for (int j = 2; j < COUNT; j++) {
+    for (int j = 2; j < COUNT + 2; j++) {
         lfs_mount(&lfs, &cfg) => 0;
         lfs_dir_open(&lfs, &dir, "/") => 0;
         lfs_dir_read(&lfs, &dir, &info) => 1;