smoke-test-run-unittests: adjust for RPM 4.20 build path change
RPM 4.20 changed the build directory naming scheme, which throws off a lot of tests that make assumptions about it, like this one. This adjusts the test to handle both older and newer RPM by just noticing we're already in the directory with INSTALL in it, and the directory we want to get to is under that. Signed-off-by: Adam Williamson <awilliam@redhat.com>
This commit is contained in:
parent
66fd89a7e7
commit
c5a8309fb2
1 changed files with 1 additions and 1 deletions
|
|
@ -55,7 +55,7 @@ rlJournalStart
|
|||
rlRun "./configure" 0 "Configure"
|
||||
rlRun "make" 0 "Compile"
|
||||
fi
|
||||
rlRun "cd $TmpDir/BUILD/*/test"
|
||||
rlRun "cd test" 0 "Get into the test dir"
|
||||
rlAssertExists 'xmas' 0 "Check for compiled program"
|
||||
rlPhaseEnd
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue