Skip to content

Commit c125327

Browse files
committed
Add top_srcdir to env vars available to the SDS detect version test.
1 parent 9a380b4 commit c125327

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

tests/DS/sds_detect_version/Makefile.am

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ CLEANFILES = *.log *.results oscap_debug.log.*
33

44
TESTS_ENVIRONMENT= \
55
builddir=$(top_builddir) \
6+
srcdir=$(top_srcdir) \
67
OSCAP_FULL_VALIDATION=1 \
78
$(top_builddir)/run
89

tests/DS/sds_detect_version/test_detect_version.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ function test_oscap_info {
2828
rm $ds
2929
}
3030

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

3333
for sds_version in $SDS
3434
do

0 commit comments

Comments
 (0)