Searched refs:test_err (Results 1 – 11 of 11) sorted by relevance
/openbmc/linux/fs/btrfs/tests/ |
H A D | free-space-tests.c | 29 test_err("error adding initial extents %d", ret); in test_extents() 35 test_err("error removing extent %d", ret); in test_extents() 40 test_err("full remove left some lingering space"); in test_extents() 47 test_err("error adding half extent %d", ret); in test_extents() 53 test_err("error removing tail end %d", ret); in test_extents() 59 test_err("error removing front end %d", ret); in test_extents() 65 test_err("error removing middle piece %d", ret); in test_extents() 70 test_err("still have space at the front"); in test_extents() 75 test_err("still have space in the middle"); in test_extents() 80 test_err("still have space at the end"); in test_extents() [all …]
|
H A D | inode-tests.c | 264 test_err("got an error when we shouldn't have"); in test_btrfs_get_extent() 268 test_err("expected a hole, got %llu", em->block_start); in test_btrfs_get_extent() 283 test_err("got an error when we shouldn't have"); in test_btrfs_get_extent() 287 test_err("expected an inline, got %llu", em->block_start); in test_btrfs_get_extent() 302 test_err( in test_btrfs_get_extent() 308 test_err("unexpected flags set, want 0 have %lu", em->flags); in test_btrfs_get_extent() 321 test_err("got an error when we shouldn't have"); in test_btrfs_get_extent() 325 test_err("expected a hole, got %llu", em->block_start); in test_btrfs_get_extent() 329 test_err( in test_btrfs_get_extent() 335 test_err("unexpected flags set, want 0 have %lu", em->flags); in test_btrfs_get_extent() [all …]
|
H A D | extent-buffer-tests.c | 81 test_err("split item failed %d", ret); in test_btrfs_split_item() 92 test_err("invalid key at slot 0"); in test_btrfs_split_item() 98 test_err("invalid len in the first split"); in test_btrfs_split_item() 106 test_err( in test_btrfs_split_item() 116 test_err("invalid key at slot 1"); in test_btrfs_split_item() 122 test_err("invalid len in the second split"); in test_btrfs_split_item() 130 test_err( in test_btrfs_split_item() 140 test_err("second split item failed %d", ret); in test_btrfs_split_item() 147 test_err("invalid key at slot 0"); in test_btrfs_split_item() 153 test_err("invalid len in the first split"); in test_btrfs_split_item() [all …]
|
H A D | qgroup-tests.c | 43 test_err("couldn't insert ref %d", ret); in insert_normal_tree_ref() 92 test_err("couldn't find extent ref"); in add_tree_ref() 114 test_err("failed to insert backref"); in add_tree_ref() 141 test_err("didn't find our key %d", ret); in remove_extent_item() 174 test_err("couldn't find extent ref"); in remove_extent_ref() 196 test_err("couldn't find backref %d", ret); in remove_extent_ref() 220 test_err("couldn't create a qgroup %d", ret); in test_no_shared_qgroup() 235 test_err("couldn't find old roots: %d", ret); in test_no_shared_qgroup() 251 test_err("couldn't find old roots: %d", ret); in test_no_shared_qgroup() 260 test_err("couldn't account space for a qgroup %d", ret); in test_no_shared_qgroup() [all …]
|
H A D | extent-map-tests.c | 27 test_err( in free_extent_map_tree() 79 test_err("cannot add extent range [0, 16K)"); in test_case_1() 100 test_err("cannot add extent range [16K, 20K)"); in test_case_1() 121 test_err("case1 [%llu %llu]: ret %d", start, start + len, ret); in test_case_1() 127 test_err( in test_case_1() 167 test_err("cannot add extent range [0, 1K)"); in test_case_2() 188 test_err("cannot add extent range [4K, 8K)"); in test_case_2() 209 test_err("case2 [0 1K]: ret %d", ret); in test_case_2() 215 test_err( in test_case_2() 250 test_err("cannot add extent range [4K, 8K)"); in __test_case_3() [all …]
|
H A D | free-space-tree-tests.c | 37 test_err("could not find free space info"); in __check_free_space_extents() 45 test_err("extent count is wrong"); in __check_free_space_extents() 102 test_err("free space tree is invalid"); in __check_free_space_extents() 120 test_err("could not find free space info"); in check_free_space_extents() 136 test_err("could not convert to extents"); in check_free_space_extents() 142 test_err("could not convert to bitmaps"); in check_free_space_extents() 177 test_err("could not remove free space"); in test_remove_all() 199 test_err("could not remove free space"); in test_remove_beginning() 223 test_err("could not remove free space"); in test_remove_end() 247 test_err("could not remove free space"); in test_remove_middle() [all …]
|
H A D | extent-io-tests.c | 163 test_err("failed to allocate test page"); in test_find_delalloc() 186 test_err("should have found at least one delalloc"); in test_find_delalloc() 190 test_err("expected start 0 end %u, got start %llu end %llu", in test_find_delalloc() 208 test_err("couldn't find the locked page"); in test_find_delalloc() 217 test_err("couldn't find delalloc in our range"); in test_find_delalloc() 221 test_err("expected start %llu end %llu, got start %llu, end %llu", in test_find_delalloc() 227 test_err("there were unlocked pages in the range"); in test_find_delalloc() 243 test_err("couldn't find the locked page"); in test_find_delalloc() 251 test_err("found range when we shouldn't have"); in test_find_delalloc() 255 test_err("did not return the proper end offset"); in test_find_delalloc() [all …]
|
H A D | btrfs-tests.h | 13 #define test_err(fmt, ...) pr_err("BTRFS: selftest: %s:%d " fmt "\n", \ macro 16 #define test_std_err(index) test_err("%s", test_error[index])
|
/openbmc/openbmc/meta-google/recipes-google/test/test-sh/ |
H A D | lib.sh | 20 test_err=1 26 test_err=1 36 test_err=1 41 test_err=1 48 local test_err=0 49 if "$f" && (( test_err == 0 )); then
|
H A D | test.sh | 52 test_err=1 || return
|
/openbmc/openbmc/meta-google/recipes-google/networking/network-sh/ |
H A D | test.sh | 33 test_err=1
|