Skip to content

Commit

Permalink
Fix pkg-search test.
Browse files Browse the repository at this point in the history
The return status from pkgcli_update() needs to be improved.
  • Loading branch information
bdrewery committed Sep 11, 2014
1 parent 5a4cd9a commit c254b51
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/frontend/search.shin
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ search_head() {

search_body() {
REPOS_DIR=/nonexistent
atf_check -e inline:"pkg: No active remote repositories configured\n" -o empty -s exit:74 pkg -C '' -R '' search -e -Q comment -S name pkg
atf_check -e inline:"No valid repository found.\n" -o empty -s exit:3 pkg -C '' -R '' search -e -Q comment -S name pkg
}

atf_init_test_cases() {
Expand Down

0 comments on commit c254b51

Please sign in to comment.