mirror of
				https://github.com/eledio-devices/thirdparty-littlefs.git
				synced 2025-10-31 00:32:38 +01:00 
			
		
		
		
	Generated v2 prefixes
This commit is contained in:
		| @@ -192,7 +192,7 @@ More details on how littlefs works can be found in [DESIGN.md](DESIGN.md) and | |||||||
| ## Testing | ## Testing | ||||||
|  |  | ||||||
| The littlefs comes with a test suite designed to run on a PC using the | The littlefs comes with a test suite designed to run on a PC using the | ||||||
| [emulated block device](emubd/lfs2_emubd.h) found in the emubd directory. | [emulated block device](bd/lfs2_testbd.h) found in the `bd` directory. | ||||||
| The tests assume a Linux environment and can be started with make: | The tests assume a Linux environment and can be started with make: | ||||||
|  |  | ||||||
| ``` bash | ``` bash | ||||||
|   | |||||||
| @@ -292,6 +292,8 @@ class TestCase: | |||||||
|                     if e.errno == errno.EIO: |                     if e.errno == errno.EIO: | ||||||
|                         break |                         break | ||||||
|                     raise |                     raise | ||||||
|  |                 if not line: | ||||||
|  |                     break; | ||||||
|                 stdout.append(line) |                 stdout.append(line) | ||||||
|                 if args.get('verbose'): |                 if args.get('verbose'): | ||||||
|                     sys.stdout.write(line) |                     sys.stdout.write(line) | ||||||
| @@ -687,6 +689,8 @@ def main(**args): | |||||||
|             if e.errno == errno.EIO: |             if e.errno == errno.EIO: | ||||||
|                 break |                 break | ||||||
|             raise |             raise | ||||||
|  |         if not line: | ||||||
|  |             break; | ||||||
|         stdout.append(line) |         stdout.append(line) | ||||||
|         if args.get('verbose'): |         if args.get('verbose'): | ||||||
|             sys.stdout.write(line) |             sys.stdout.write(line) | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user