Skip to content

Commit

Permalink
perms - fixing system tests after rename
Browse files Browse the repository at this point in the history
  • Loading branch information
lzap committed Jan 19, 2012
1 parent ed24c01 commit 51cb4b2
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions scripts/system-test/cli_tests/errata.sh
Original file line number Diff line number Diff line change
Expand Up @@ -13,3 +13,7 @@ test_success "errata list by product, repo, and type" errata list --org="$TEST_O
test_success "errata list by type" errata list --org="$TEST_ORG" --type="enhancements"
test_success "errata list by severity" errata list --org="$TEST_ORG" --severity="critical"
test_success "errata list by product and type" errata list --org="$TEST_ORG" --product="$FEWUPS_PRODUCT" --type="enhancements"
ERRATA_ID=$($CMD errata list --repo_id $REPO_ID -g | tail -n1 | awk '{print $1}')
if [ "x$ERRATA_ID" != "x" ]; then
test_success "errata info" errata info --repo_id $REPO_ID --id "$ERRATA_ID"
fi
2 changes: 1 addition & 1 deletion scripts/system-test/cli_tests/package.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,5 @@ test_success "package list by repo id" package list --repo_id="$REPO_ID"
test_success "package list" package list --repo="$REPO_NAME" --org="$TEST_ORG" --product="$FEWUPS_PRODUCT"
PACK_ID=`$CMD package list --repo_id="$REPO_ID" -g | tail -n 1 | awk '{print $1}'`
if valid_id $PACK_ID; then
test_success "package info" package info --id="$PACK_ID"
test_success "package info" package info --id="$PACK_ID" --repo_id="$REPO_ID"
fi

0 comments on commit 51cb4b2

Please sign in to comment.