Commit Graph

73 Commits

Author SHA1 Message Date
Alexandre Pujol
e78af47c56 Add a GPG database in 'extras/test/gnupg' for test suite purpose
The GPG Key are unencrypted. Do not use them for an other purpose
than a test suite.
2017-02-03 23:57:52 +00:00
Jaromil
4439a6a327 minor fixes to regression tests 2017-01-21 23:50:57 +01:00
Jaromil
5996beab0e small fixes to run clean tests 2017-01-02 07:03:54 +01:00
Jaromil
e59518befa included regression tests against old Tomb versions 2016-12-26 20:03:14 +01:00
Jaromil
eada0538c9 Delete mountpoint when tomb is closed (fix #149)
two bugs were left behind by the last refactoring, one about
consistency of the mountpoint naming (now using $TOMBNAME everywhere,
without the added .tomb extension as per #180), the other about a
missing _sudo to prefix rmdir commands.

Test suite has been updated accordingly.

This fix introduces a mandatory condition for the next update: all
tombs must be closed when upgrading the tomb script, else it will not
be able to correctly close them.
2015-06-26 11:47:19 +02:00
Jaromil
a4f597d86c documentation and runtests fixes 2014-11-22 01:50:08 +01:00
Jaromil
50ce03d5f5 reactivated KDF test 2014-11-14 18:52:44 +01:00
Jaromil
18f2cf25d0 fixed tests to use only one dummypass 2014-11-14 18:52:16 +01:00
Jaromil
3eff8aeebe isolated functions to speed up test environment 2014-11-14 17:43:53 +01:00
hellekin
80f8b58387 [cleanup] Remove those test-* files 2014-11-04 15:32:45 +01:00
Jaromil
ab425a327e runtests now returns 1 if at least one error has occurred, fix #153 2014-10-23 23:32:09 +02:00
Jaromil
7c55f633d6 small fix to tests 2014-08-25 21:07:47 +02:00
Jaromil
5158c380fe refactoring of the way password and keys are handled internally
this change uses an hidden global variable within tomb to store the
decrypted key material, avoiding using one tempfile in RAM, avoiding
running the decryption more than once (which means sanity for KDF
usage) and overall simplifying the code also avoiding duplicates.
2014-08-06 07:43:25 +02:00
Jaromil
0b6fab984f test suite updated 2014-06-08 20:31:42 +02:00
Jaromil
0b846a79e7 fix tests scripts to work after recent key refactoring 2014-04-02 14:31:36 +02:00
Jaromil
914ac9594e last fixes and documentation for release
manual page updates and improvements to kdf argument handling
2013-06-20 12:46:20 +02:00
Jaromil
f3c18819d2 documentation and test improvements
also renamed 'backup' command into 'engrave'
2013-06-20 10:26:12 +02:00
Jaromil
f1318eb130 image and dummy pass selection in test suite 2013-06-12 13:41:12 +02:00
Jaromil
8d0c8e51e8 Brand new test suite
this test suite can be called by 'make test' and checks basic functions
plus KDF, STEGHIDE and RESIZE. It works creating files in /tmp/*tomb*
2013-06-12 13:36:50 +02:00
Jaromil
4d6c0bf5cc Cleaner test environment
now available as 'make test'
2013-06-12 11:12:33 +02:00
Jaromil
bc3177141d fix to tomb resize
also included into test script
2013-06-12 03:01:28 +02:00
Jaromil
8f9e9f9d2a fixes to --tomb-pwd and new test script 2013-06-12 00:59:41 +02:00
Jaromil
3eb93acc18 Directory reorganization
This commit re-organizes all the source distribution contents to
present users with the simple script, while moving the rest in extras.
Also autoconf/automake scripts were removed, back to minimalism.

The rationale of this change is that Tomb really only consists of a
script and users with no extra needs should just be presented with
it with no need for anything else. Any other thing on top of the Tomb
script is an extra and can be even distributed separately or integrated
in distributions.
2013-05-18 17:29:37 +02:00