Skip to content

Commit

Permalink
debug
Browse files Browse the repository at this point in the history
  • Loading branch information
Geod24 committed Dec 31, 2024
1 parent 6397108 commit 6cb0bbb
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions test/4-describe-data-3-zero-delim.sh
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,9 @@ function cleanup {

trap cleanup EXIT

which xargs
xargs --version

# Test list-style project data
if ! $DUB describe --compiler=$DC --data-list \
--data=target-type \
Expand Down Expand Up @@ -107,6 +110,11 @@ if ! $DUB describe --compiler=$DC --data-0 --data=versions \
die $LINENO 'Printing null-delimited dmd-style --data=versions failed!'
fi

echo "===== FILE 1 ====="
cat -vET "$temp_file_normal"
echo "===== FILE 2 ====="
cat -vET "$temp_file_zero_delim"
echo "=================="
if ! diff -b -B "$temp_file_normal" "$temp_file_zero_delim"; then
die $LINENO 'The null-delimited dmd-style --data=versions did not match the expected output!'
fi
Expand Down

0 comments on commit 6cb0bbb

Please sign in to comment.