Skip to content

Syntax error and file format issues #1

@damienalexandre

Description

@damienalexandre

Hi,
I was trying your scripts on my Ubuntu (GNU bash, version 4.2.8) and I've got several issues.

First, I was having a bad interpreter: No such file or directory error on ./run-sysbench. I run this to fix it:

perl -i -pe's/\r$//;' ./run-sysbench

Then, I got a syntaxt error while trying to run ./run-sysbench:

./run-sysbench: line 1: syntax error near unexpected token `('
done'   sleep 10quests=0 --percentile=99 run | tee -a $resultsdir/$outdir/sysbench.$thread.res$password"

But I can't get around it :(

Also on aggregate-results:

./aggregate-results: line 1: syntax error near unexpected token `('
done'esucat $resgawk -v d=$result '{$0=d","$0}1'n/g' \dlocks|read/write|min:|avg:|max:|percentile:" | \,max,99 percentile \n"

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions