diff --git a/.gitignore b/.gitignore index c48505d..823eaec 100644 --- a/.gitignore +++ b/.gitignore @@ -22,5 +22,6 @@ /test/expected-string-import-path-output /test/expected-describe-data-1-list-output /test/expected-describe-data-2-dmd-output +/test/expected-issue616-output /test/describe-project/dummy.dat /test/describe-project/dummy-dep1.dat diff --git a/test/issue616-describe-vs-generate-commands.sh b/test/issue616-describe-vs-generate-commands.sh index e4c28e8..6e7e0c1 100755 --- a/test/issue616-describe-vs-generate-commands.sh +++ b/test/issue616-describe-vs-generate-commands.sh @@ -4,11 +4,9 @@ cd "$CURR_DIR"/issue616-describe-vs-generate-commands temp_file=`mktemp` -temp_file2=`mktemp` function cleanup { rm $temp_file - rm $temp_file2 } trap cleanup EXIT @@ -26,13 +24,6 @@ echo "$CURR_DIR/issue616-subsubpack/src/" >> "$expected_file" echo "issue616-describe-vs-generate-commands" >> "$expected_file" -# Create the expected output file to compare stderr against. -expected_file2="$CURR_DIR/expected-issue616-output2" -echo "preGenerateCommands: DUB_PACKAGES_USED=issue616-describe-vs-generate-commands,issue616-subpack,issue616-subsubpack" > "$expected_file2" -echo "$CURR_DIR/issue616-describe-vs-generate-commands/src/" >> "$expected_file2" -echo "$CURR_DIR/issue616-subpack/src/" >> "$expected_file2" -echo "$CURR_DIR/issue616-subsubpack/src/" >> "$expected_file2" - if ! diff "$expected_file" "$temp_file"; then die 'The stdout output did not match the expected output!' fi