projects
/
platform
/
upstream
/
cryptsetup.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Add some API test and rewrite some parts.
[platform/upstream/cryptsetup.git]
/
tests
/
mode-test
diff --git
a/tests/mode-test
b/tests/mode-test
index
ba6ac0a
..
9a2ad8b
100755
(executable)
--- a/
tests/mode-test
+++ b/
tests/mode-test
@@
-51,7
+51,7
@@
add_device() {
dmcrypt_check() # device outstring
{
- X=$(dmsetup table $1 2>/dev/null | cut -d' ' -f 4)
+ X=$(dmsetup table $1 2>/dev/null |
sed 's/.*: //' |
cut -d' ' -f 4)
if [ $X = $2 ] ; then
echo -n "[table OK]"
else