Skip to content

Commit

Permalink
Add top_srcdir to env vars available to the SDS detect version test.
Browse files Browse the repository at this point in the history
  • Loading branch information
ggbecker committed May 28, 2019
1 parent 9a380b4 commit c125327
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions tests/DS/sds_detect_version/Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ CLEANFILES = *.log *.results oscap_debug.log.*

TESTS_ENVIRONMENT= \
builddir=$(top_builddir) \
srcdir=$(top_srcdir) \
OSCAP_FULL_VALIDATION=1 \
$(top_builddir)/run

Expand Down
2 changes: 1 addition & 1 deletion tests/DS/sds_detect_version/test_detect_version.sh
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ function test_oscap_info {
rm $ds
}

SDS=$(find $builddir/schemas/sds -maxdepth 1 -mindepth 1 -type d -printf '%f\n')
SDS=$(find $srcdir/schemas/sds -maxdepth 1 -mindepth 1 -type d -printf '%f\n')

for sds_version in $SDS
do
Expand Down

0 comments on commit c125327

Please sign in to comment.