Skip to content

Commit

Permalink
sed takes a filename, not a literal string
Browse files Browse the repository at this point in the history
  • Loading branch information
mernst committed Sep 4, 2024
1 parent 2f22d6c commit 3f6380c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion framework/test/test_verify_bugs.sh
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ if [ "$DEBUG" == "-D" ]; then
fi

# Create log file
script_name=$(sed 's/\.sh$//' "$script")
script_name=$(echo $script | sed 's/\.sh$//')
LOG="$TEST_DIR/${script_name}$(printf '_%s_%s' "$PID" $$).log"
DIR_FAILING="$TEST_DIR/${script_name}$(printf '_%s_%s' "$PID" $$).failing_tests"

Expand Down

0 comments on commit 3f6380c

Please sign in to comment.