Skip to content

Commit

Permalink
Issue #95: Ubuntu package
Browse files Browse the repository at this point in the history
Integration test failing.
Added pipe to sort for now as I think the untagged files are
being output in a different order.
  • Loading branch information
oniony committed Jan 3, 2017
1 parent 0430a43 commit aa47a6f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/untagged/list_untagged
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ tmsu tag /tmp/tmsu/dir/file1 aubergine >|/tmp/tmsu/stdout 2>|/tmp/tmsu/stderr

# test

tmsu untagged /tmp/tmsu/dir >>/tmp/tmsu/stdout 2>>/tmp/tmsu/stderr
tmsu untagged /tmp/tmsu/dir | sort >>/tmp/tmsu/stdout 2>>/tmp/tmsu/stderr

# verify

Expand All @@ -23,8 +23,8 @@ fi

diff /tmp/tmsu/stdout - <<EOF
/tmp/tmsu/dir
/tmp/tmsu/dir/file3
/tmp/tmsu/dir/file2
/tmp/tmsu/dir/file3
EOF
if [[ $? -ne 0 ]]; then
exit 1
Expand Down

0 comments on commit aa47a6f

Please sign in to comment.