Skip to content

Commit 713d3b0

Browse files
CyberShadowWebFreak001
authored andcommitted
test/issue895-local-configuration.sh: Update test
Failure mode is different as we're no longer asking the shell to run the dummy program, we're doing it ourselves.
1 parent 5991932 commit 713d3b0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/issue895-local-configuration.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ fi
6161
rm ../etc/dub/settings.json
6262
echo "Empty file named ldc2." > ../bin/ldc2
6363

64-
if ! { ${DUB} describe --single issue103-single-file-package.d 2>&1 || true; } | grep -cF "Failed to invoke the compiler $(dirname $CURR_DIR)/bin/ldc2 to determine the build platform"; then
64+
if ! { ${DUB} describe --single issue103-single-file-package.d 2>&1 || true; } | grep -cF "Failed to execute '$(dirname $CURR_DIR)/bin/ldc2'"; then
6565
rm ../bin/ldc2
6666
die $LINENO 'DUB did not find ldc2 adjacent to it.'
6767
fi

0 commit comments

Comments
 (0)