diff options
author | Zdenek Kabelac <zkabelac@redhat.com> | 2017-07-07 21:24:57 +0200 |
---|---|---|
committer | Zdenek Kabelac <zkabelac@redhat.com> | 2017-07-10 14:23:53 +0200 |
commit | 9c0a92ee8dc4eca67f53b72f190e7c038ae984d4 (patch) | |
tree | ffde70401baf8fbe8858cbe0d952d2238f79d381 /test/shell/fsadm.sh | |
parent | ec05890026ac9f66797fdd44dad4c8ce02b857b6 (diff) | |
download | lvm2-9c0a92ee8dc4eca67f53b72f190e7c038ae984d4.tar.gz |
tests: cleaner written eval
Although code work this coding style is better.
This \c will be a regular 'c' in this context.
Diffstat (limited to 'test/shell/fsadm.sh')
-rw-r--r-- | test/shell/fsadm.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/shell/fsadm.sh b/test/shell/fsadm.sh index fed7eb411..35c344376 100644 --- a/test/shell/fsadm.sh +++ b/test/shell/fsadm.sh @@ -80,7 +80,7 @@ fscheck_reiserfs() check_missing() { local t - eval t=$\check_$1 + eval "t=\$check_$1" test -z "$t" && return 0 test "$t" = skip && return 1 echo "WARNING: fsadm test skipped $1 tests, $t tool is missing." |