On some platforms "wc -l" returns whitespace along with the count,
which breaks the one case where we quoted the result, i.e. "$(... | wc
-l"). For now, remove the quoting until/unless we decide to fix all
of the affected invocations.
Thanks to Thomas Klausner <tk@giga.or.at> for reporting the problem on
NetBSD.
Signed-off-by: Rob Browning <rlb@defaultvalue.org>
WVPASS bup tick
WVPASS rdiff-backup $TOP/Documentation $D/rdiff-backup
WVPASS bup import-rdiff-backup $D/rdiff-backup import-rdiff-backup
- WVPASSEQ "$(bup ls import-rdiff-backup/ | wc -l)" "3"
+ WVPASSEQ $(bup ls import-rdiff-backup/ | wc -l) 3
WVPASSEQ "$(bup ls import-rdiff-backup/latest/ | sort)" "$(ls $TOP/Documentation | sort)"
fi