This was ignored by the existing tests because there was no tty.
Signed-off-by: Rob Browning <rlb@defaultvalue.org>
Tested-by: Rob Browning <rlb@defaultvalue.org>
"""Common code for listing files from a bup repository."""
-import copy, os.path, stat, xstat
+import copy, os.path, stat, sys, xstat
from bup import metadata, options, vfs
-from helpers import istty1, log
+from helpers import columnate, istty1, log
def node_info(n, name,
WVSTART "ls (short)"
+(export BUP_FORCE_TTY=1; WVPASSEQ "$(WVPASS bup ls | tr -d ' ')" src)
+
WVPASSEQ "$(WVPASS bup ls /)" "src"
WVPASSEQ "$(WVPASS bup ls -A /)" ".commit