extfs: lslR: make it testable.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
This commit is contained in:
Mooffie 2016-11-23 10:51:36 +02:00 committed by Andrew Borodin
parent eded16b0e9
commit f2c8479a50

View File

@ -23,6 +23,8 @@ case "$1" in
*) MYCAT="cat";;
esac
MYCAT=${MC_TEST_EXTFS_LIST_CMD:-$MYCAT} # Let the test framework hook in.
$MYCAT "$1" | $AWK '
BEGIN {
dir="";