Skip to content

Commit

Permalink
Fix bug in use of sed
Browse files Browse the repository at this point in the history
  • Loading branch information
mernst committed Sep 5, 2024
1 parent c24adeb commit 4c39462
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions framework/test/test_verify_bugs.sh
Original file line number Diff line number Diff line change
Expand Up @@ -72,9 +72,9 @@ if [ "$BUGS" == "" ]; then
fi

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

################################################################################
# Run developer-written tests on all buggy and fixed program versions, and
Expand Down

0 comments on commit 4c39462

Please sign in to comment.