mirror of
https://github.com/dlang/dmd.git
synced 2025-04-26 13:10:12 +03:00
12 lines
437 B
Bash
Executable file
12 lines
437 B
Bash
Executable file
#!/usr/bin/env bash
|
|
|
|
source tools/common_funcs.sh
|
|
|
|
# trim off the last line which contains the path of the file which differs between windows and non-windows
|
|
out_file=${RESULTS_TEST_DIR}/${TEST_DIR}-${TEST_NAME}.lst
|
|
LINE_COUNT_MINUS_1=$(( `wc -l < ${out_file}` - 1 ))
|
|
head -n${LINE_COUNT_MINUS_1} ${out_file} > ${out_file}2
|
|
|
|
diff -up --strip-trailing-cr ${EXTRA_FILES}/${TEST_DIR}-${TEST_NAME}.lst ${out_file}2
|
|
|
|
rm_retry ${out_file}{,2}
|