Lines Matching +full:non +full:- +full:empty
1 # SPDX-License-Identifier: GPL-2.0+
5 # U-Boot File System:unlink Test
19 Test Case 1 - delete a file
22 with u_boot_console.log.section('Test Case 1 - unlink (file)'):
36 Test Case 2 - delete many files
39 with u_boot_console.log.section('Test Case 2 - unlink (many)'):
54 Test Case 3 - trying to delete a non-existing file should fail
57 with u_boot_console.log.section('Test Case 3 - unlink (non-existing)'):
65 Test Case 4 - delete an empty directory
68 with u_boot_console.log.section('Test Case 4 - unlink (directory)'):
80 Test Case 5 - trying to deleting a non-empty directory ".."
84 with u_boot_console.log.section('Test Case 5 - unlink ("non-empty directory")'):
88 assert('directory is not empty' in ''.join(output))
92 Test Case 6 - trying to deleting a "." should fail
95 with u_boot_console.log.section('Test Case 6 - unlink (".")'):
99 assert('directory is not empty' in ''.join(output))
103 Test Case 7 - trying to deleting a ".." should fail
106 with u_boot_console.log.section('Test Case 7 - unlink ("..")'):
110 assert('directory is not empty' in ''.join(output))