5c2a5d72ae
- resolves: #1938814
28 lines
637 B
Bash
Executable File
28 lines
637 B
Bash
Executable File
#!/bin/bash
|
|
|
|
. /usr/share/beakerlib/beakerlib.sh
|
|
|
|
TEST="/BaseOS/man-db/Sanity/upstream-test-suite"
|
|
|
|
PACKAGES=${PACKAGES:-"man-db"}
|
|
REQUIRES=${REQUIRES:-"gcc make"}
|
|
|
|
rlJournalStart
|
|
rlPhaseStartSetup
|
|
rlAssertRpm --all
|
|
rlRun "TmpDir=\$(mktemp -d)" 0 "Creating tmp directory"
|
|
rlRun "cp -r man-db/* $TmpDir/." 0 "Copying test suite"
|
|
rlRun "pushd $TmpDir"
|
|
rlPhaseEnd
|
|
|
|
rlPhaseStartTest
|
|
rlRun "make test" 0 "Running tests"
|
|
rlPhaseEnd
|
|
|
|
rlPhaseStartCleanup
|
|
rlRun "popd"
|
|
rlRun "rm -r $TmpDir" 0 "Removing tmp directory"
|
|
rlPhaseEnd
|
|
rlJournalPrintText
|
|
rlJournalEnd
|