"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "tests/luks1-compat-test" between
cryptsetup-2.0.6.tar.xz and cryptsetup-2.1.0.tar.xz

About: cryptsetup is a utility used to conveniently setup disk encryption based on the dm-crypt kernel module. These include plain dm-crypt volumes, LUKS volumes, loop-AES and TrueCrypt compatible format.

luks1-compat-test  (cryptsetup-2.0.6.tar.xz):luks1-compat-test  (cryptsetup-2.1.0.tar.xz)
skipping to change at line 25 skipping to change at line 25
function remove_mapping() function remove_mapping()
{ {
[ -b /dev/mapper/$MAP ] && dmsetup remove $MAP [ -b /dev/mapper/$MAP ] && dmsetup remove $MAP
} }
function fail() function fail()
{ {
[ -n "$1" ] && echo "$1" [ -n "$1" ] && echo "$1"
echo " [FAILED]" echo " [FAILED]"
echo "FAILED at line $(caller)"
remove_mapping remove_mapping
exit 2 exit 2
} }
function skip() function skip()
{ {
[ -n "$1" ] && echo "$1" [ -n "$1" ] && echo "$1"
echo "Test skipped." echo "Test skipped."
exit 77 exit 77
} }
 End of changes. 1 change blocks. 
0 lines changed or deleted 1 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)