Skip to content

Commit

Permalink
Fix tests/discover/filtering
Browse files Browse the repository at this point in the history
Signed-off-by: Cristian Le <[email protected]>
  • Loading branch information
LecrisUT authored and psss committed Sep 17, 2024
1 parent 50fbebf commit 175f7d8
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion tests/discover/filtering.sh
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,10 @@ rlJournalStart
rlAssertEquals "Check that number of fmf-ids equals to tests number" \
"$ids_amount" "$tests_amount"
rlAssertEquals "Check url" "$url_discover" "$url_fmf_id"
rlAssertEquals "Check ref" "HEAD" "$ref_fmf_id"
# Expected ref comes from running git describe on tmt repo:
# git describe --tags eae4d527
expected_ref="0.10-8-geae4d527"
rlAssertEquals "Check ref" "$expected_ref" "$ref_fmf_id"
rlPhaseEnd

rlPhaseStartTest 'fmf-id (w/o url): Show fmf ids for discovered tests'
Expand Down

0 comments on commit 175f7d8

Please sign in to comment.