aboutsummaryrefslogtreecommitdiffstats
path: root/roms/u-boot/test/py/tests/test_fs/test_fs_cmd.py
blob: ba39a53159eb2692e5570b89d24d751f8efc9d60 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
# 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