Skip to content

Commit

Permalink
lib/tests/phoronix-test-suite.sh: fixup aom-av1
Browse files Browse the repository at this point in the history
fix the following issue:
sed: -e expression #1, char 16: unterminated `s' command

Signed-off-by: Ma XinJian <[email protected]>
Signed-off-by: Philip Li <[email protected]>
  • Loading branch information
Ma XinJian authored and rli9 committed Oct 23, 2019
1 parent fba2e9c commit bd64b0b
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions lib/tests/phoronix-test-suite.sh
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,15 @@ fixup_npb()
sed -i 's/mpiexec -np/mpiexec --allow-run-as-root -np/' "$target"
}

# fix issue: sed: -e expression #1, char 16: unterminated `s' command
fixup_aom_av1()
{
[ -n "$environment_directory" ] || return
local test=$1
local target=${environment_directory}/pts/${test}/aom-av1
sed -i "s,sed $'s,sed 's,g" "$target"
}

# start nginx and disable ipv6
fixup_nginx()
{
Expand Down Expand Up @@ -283,6 +292,9 @@ run_test()
npb-*)
fixup_npb $test || die "failed to fixup test npb"
;;
aom-av1-*)
fixup_aom_av1 $test || die "failed to fixup test aom-av1"
;;
bullet-*)
fixup_bullet $test || die "failed to fixup test bullet"
;;
Expand Down

0 comments on commit bd64b0b

Please sign in to comment.