diff options
author | Jeff Bilyk <jbilyk@gmail.com> | 2010-12-14 04:18:48 +0000 |
---|---|---|
committer | Jeff Bilyk <jbilyk@gmail.com> | 2010-12-14 04:18:48 +0000 |
commit | 4e9667c8fe6d40e80271d54d391878344a2a68b2 (patch) | |
tree | a6b5f84c8dcd41a0aaec2c26c2634e634fa75eda /tests/cryptsetup | |
parent | bf71842f902eb5ae092ef5d57da409605f08a1aa (diff) | |
download | apts-4e9667c8fe6d40e80271d54d391878344a2a68b2.tar.bz2 apts-4e9667c8fe6d40e80271d54d391878344a2a68b2.tar.xz |
apts: add last of the old testing files, update missing-tests file with tests that didn't work
Add last of testing files from original apts, update missing-tests file
Diffstat (limited to 'tests/cryptsetup')
-rw-r--r-- | tests/cryptsetup | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/tests/cryptsetup b/tests/cryptsetup new file mode 100644 index 0000000..f197832 --- /dev/null +++ b/tests/cryptsetup @@ -0,0 +1,9 @@ + LOOP=/dev/loop1 + modprobe dm-crypt + apk_add $@ + dd if=/dev/zero of=luks.dsk bs=1024 count=2048 + losetup $LOOP luks.dsk + echo "testpassword" | cryptsetup luksFormat $LOOP -q + losetup -d $LOOP + rm luks.dsk + apk_del $@ |