summaryrefslogtreecommitdiffstats
path: root/tests/testrecord.c
diff options
context:
space:
mode:
authorPaolo Bonzini <pbonzini@redhat.com>2012-12-11 10:59:49 +0100
committerPaolo Bonzini <pbonzini@redhat.com>2012-12-11 11:06:20 +0100
commit0ffc9bc6e55b5e42766e68fb6cc087f6cbead6e0 (patch)
tree9d92dce381ba18ef2b3c59e21206811f3267ccea /tests/testrecord.c
parent34649de8f354849334d8f393a8dffcb3b19faadb (diff)
downloadmsitools-0ffc9bc6e55b5e42766e68fb6cc087f6cbead6e0.tar.gz
msitools-0ffc9bc6e55b5e42766e68fb6cc087f6cbead6e0.tar.xz
msitools-0ffc9bc6e55b5e42766e68fb6cc087f6cbead6e0.zip
testrecord: remove test on invalid number of record fields
Diffstat (limited to 'tests/testrecord.c')
-rw-r--r--tests/testrecord.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/tests/testrecord.c b/tests/testrecord.c
index 4a57ff9..566eb0a 100644
--- a/tests/testrecord.c
+++ b/tests/testrecord.c
@@ -77,10 +77,6 @@ static void test_msirecord(void)
ok(r == LIBMSI_RESULT_INVALID_HANDLE, "libmsi_record_set_int returned wrong error\n");
r = libmsi_record_set_int(0,-1,0);
ok(r == LIBMSI_RESULT_INVALID_HANDLE, "libmsi_record_set_int returned wrong error\n");
- h = libmsi_record_new(-1);
- ok(h==0, "created record with -1 elements\n");
- h = libmsi_record_new(0x10000);
- ok(h==0, "created record with 0x10000 elements\n");
r = libmsi_record_clear_data(0);
ok(r == LIBMSI_RESULT_INVALID_HANDLE, "libmsi_record_clear_data returned wrong error\n");
r = libmsi_record_get_field_size(0,0);