Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 333182 Details for
Bug 448360
app-crypt/cryptkeeper-0.9.5-r1 - new revision fixing FEATURES/USE "test"
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
cryptkeeper-0.9.5-unit_tests.patch
cryptkeeper-0.9.5-unit_tests.patch (text/plain), 1.56 KB, created by
PhobosK
on 2012-12-24 03:18:24 UTC
(
hide
)
Description:
cryptkeeper-0.9.5-unit_tests.patch
Filename:
MIME Type:
Creator:
PhobosK
Created:
2012-12-24 03:18:24 UTC
Size:
1.56 KB
patch
obsolete
>--- a/src/unit_tests.cpp 2009-01-23 01:51:02.000000000 +0200 >+++ b/src/unit_tests.cpp 2012-12-24 00:16:13.836225456 +0200 >@@ -25,23 +25,23 @@ > TEST("create", encfs_stash_new(crypt_dir, mount_dir, PASSWORD1)); > sleep(1); > TEST("unmount", encfs_stash_unmount(mount_dir)); >- TEST("mount", encfs_stash_mount(crypt_dir, mount_dir, PASSWORD1, 0, &output)); >+ TEST("mount", encfs_stash_mount(crypt_dir, mount_dir, PASSWORD1, 0, false, &output)); > OUTPUT(); > TEST("unmount", encfs_stash_unmount(mount_dir)); > > TEST("change password", encfs_stash_change_password(crypt_dir, PASSWORD1, PASSWORD2, &output)); > OUTPUT(); > >- TEST("mount", encfs_stash_mount(crypt_dir, mount_dir, PASSWORD2, 0, &output)); >+ TEST("mount", encfs_stash_mount(crypt_dir, mount_dir, PASSWORD2, 0, false, &output)); > OUTPUT(); > sleep(1); > TEST("unmount", encfs_stash_unmount(mount_dir)); > >- TEST("incorrect password mount", !encfs_stash_mount(crypt_dir, mount_dir, "blah", 0, &output)); >+ TEST("incorrect password mount", !encfs_stash_mount(crypt_dir, mount_dir, "blah", 0, false, &output)); > OUTPUT(); > > system("touch unit_test_mount/file"); >- TEST("non-empty mount point mount", !encfs_stash_mount(crypt_dir, mount_dir, PASSWORD2, 0, &output)); >+ TEST("non-empty mount point mount", !encfs_stash_mount(crypt_dir, mount_dir, PASSWORD2, 0, false, &output)); > OUTPUT(); > > TEST("get_info", encfs_stash_get_info(crypt_dir, &output)); >@@ -51,4 +51,8 @@ > system("rm -rf unit_test_crypt unit_test_mount"); > > printf("%d tests passed, %d tests failed\n", passed, failed); >+ >+ if (failed > 0) { >+ return 1; >+ } > }
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 448360
:
333180
| 333182