Signed-off-by: David Sterba <dsterba@suse.com>
 
        inode = btrfs_new_test_inode();
        if (!inode) {
-               test_err("failed to allocate test inode");
+               test_std_err(TEST_ALLOC_INODE);
                return -ENOMEM;
        }
 
 
 
        inode = btrfs_new_test_inode();
        if (!inode) {
-               test_err("couldn't allocate inode");
+               test_std_err(TEST_ALLOC_INODE);
                return ret;
        }
 
 
        inode = btrfs_new_test_inode();
        if (!inode) {
-               test_err("couldn't allocate inode");
+               test_std_err(TEST_ALLOC_INODE);
                return ret;
        }
 
 
        inode = btrfs_new_test_inode();
        if (!inode) {
-               test_err("couldn't allocate inode");
+               test_std_err(TEST_ALLOC_INODE);
                return ret;
        }