X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=tests%2Fapi-test.c;h=6a967ed9e8ab4a48e54fd3a3d43a11e57fce7a25;hb=9679fb7f256a1cf5ca1fe46baa6b19e7b9cdcb1b;hp=3063dcecc2485c20a3aa551a2981bf63c47c35b2;hpb=8c444b563e7dd100ace2f3c3fbd4dcfeaa148973;p=platform%2Fupstream%2Fcryptsetup.git diff --git a/tests/api-test.c b/tests/api-test.c index 3063dce..6a967ed 100644 --- a/tests/api-test.c +++ b/tests/api-test.c @@ -1,7 +1,7 @@ /* * cryptsetup library API check functions * - * Copyright (C) 2009 Red Hat, Inc. All rights reserved. + * Copyright (C) 2009-2010 Red Hat, Inc. All rights reserved. * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License @@ -731,6 +731,7 @@ static void AddDeviceLuks(void) OK_(strcmp(cipher_mode, crypt_get_cipher_mode(cd))); EQ_(key_size, crypt_get_volume_key_size(cd)); EQ_(4096, crypt_get_data_offset(cd)); + OK_(strcmp(DEVICE_2, crypt_get_device_name(cd))); reset_log(); crypt_set_log_callback(cd, &new_log, NULL);