diff options
author | Tavian Barnes <tavianator@tavianator.com> | 2018-03-18 11:24:22 -0400 |
---|---|---|
committer | Tavian Barnes <tavianator@tavianator.com> | 2018-03-18 12:34:08 -0400 |
commit | a69b05c4d791892743db67bce91496fd6be39b50 (patch) | |
tree | 4f80aa18809a6b78e235666fb96274734efd002d /tests.sh | |
parent | c6d88ba2bd43db9a3bcc19f27bf803921835c549 (diff) | |
download | bfs-a69b05c4d791892743db67bce91496fd6be39b50.tar.xz |
tests: Be robust to ls -i implementation that output a leading space
Diffstat (limited to 'tests.sh')
-rwxr-xr-x | tests.sh | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1239,7 +1239,7 @@ function test_quit_implicit_print() { } function test_inum() { - local inode="$(ls -id basic/k/foo/bar | cut -f1 -d' ')" + local inode="$(ls -id basic/k/foo/bar | awk '{ print $1 }')" bfs_diff basic -inum "$inode" } |