Skip to content

Commit 5dcdf01

Browse files
HasharaCopilot
andauthored
Update test_scripts/verify_memory.sh
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
1 parent 230ea88 commit 5dcdf01

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

test_scripts/verify_memory.sh

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,10 @@ cut -f1,2,"$col_index" "$input_file" > "${selected_columns_file}"
2020
final_file="${WD}/combined_with_reported.tsv"
2121

2222
# assuming the reported file and expected file have the same order of commands
23-
cut -f3 "$reported_file" > /tmp/reported_column.tsv
24-
paste "$selected_columns_file" /tmp/reported_column.tsv > "$final_file"
23+
temp_reported_column=$(mktemp)
24+
cut -f3 "$reported_file" > "$temp_reported_column"
25+
paste "$selected_columns_file" "$temp_reported_column" > "$final_file"
26+
rm -f "$temp_reported_column"
2527

2628

2729
fail_count=0

0 commit comments

Comments
 (0)