diff options
author | Paolo Bonzini <pbonzini@redhat.com> | 2012-12-11 10:59:49 +0100 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2012-12-11 11:06:20 +0100 |
commit | 0ffc9bc6e55b5e42766e68fb6cc087f6cbead6e0 (patch) | |
tree | 9d92dce381ba18ef2b3c59e21206811f3267ccea /tests/testrecord.c | |
parent | 34649de8f354849334d8f393a8dffcb3b19faadb (diff) | |
download | msitools-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.c | 4 |
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); |