mirror of
				https://github.com/smaeul/u-boot.git
				synced 2025-11-04 05:50:17 +00:00 
			
		
		
		
	Added command "fstypes" to list supported/included filesystems. Signed-off-by: Niel Fourie <lusus@denx.de> Cc: Simon Glass <sjg@chromium.org> Reviewed-by: Simon Glass <sjg@chromium.org> [trini: Limit to sandbox] Signed-off-by: Tom Rini <trini@konsulko.com>
		
			
				
	
	
		
			14 lines
		
	
	
		
			445 B
		
	
	
	
		
			Python
		
	
	
	
	
	
			
		
		
	
	
			14 lines
		
	
	
		
			445 B
		
	
	
	
		
			Python
		
	
	
	
	
	
# SPDX-License-Identifier: GPL-2.0
 | 
						|
# Copyright (C) 2020
 | 
						|
# Niel Fourie, DENX Software Engineering, lusus@denx.de
 | 
						|
 | 
						|
import pytest
 | 
						|
 | 
						|
@pytest.mark.boardspec('sandbox')
 | 
						|
@pytest.mark.buildconfigspec('cmd_fs_generic')
 | 
						|
def test_dm_compat(u_boot_console):
 | 
						|
    """Test that `fstypes` prints a result which includes `sandbox`."""
 | 
						|
    output = u_boot_console.run_command('fstypes')
 | 
						|
    assert "Supported filesystems:" in output
 | 
						|
    assert "sandbox" in output
 |