Skip to content

Commit

Permalink
Merge pull request #42 from redhat-performance/remove_debug
Browse files Browse the repository at this point in the history
Remove debug stuff in pbench_copy_data
  • Loading branch information
dvalinrh authored Jul 31, 2024
2 parents 70830d0 + 6f92610 commit 94148b5
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions pbench_copy_data
Original file line number Diff line number Diff line change
Expand Up @@ -102,17 +102,17 @@ done

controller=${fhost}_${user}
if [[ "$controller" == *"--"* ]]; then
echo Error controller $controller contains "--"! >> /tmp/debugging
echo Error controller $controller contains "--"!
exit 1
fi

if [[ "$user" == *"--"* ]]; then
echo Error user $user contains "--"! >> /tmp/debugging
echo Error user $user contains "--"!
exit 1
fi

if [[ "$results_prefix" == *"--"* ]]; then
echo Error results_prefix $results_prefix contains "--"! >> /tmp/debugging
echo Error results_prefix $results_prefix contains "--"!
exit 1
fi

Expand All @@ -122,10 +122,8 @@ fi
controller_name=`echo ${controller} | sed "s/_/-/g"`

if [ $copy -eq 0 ]; then
echo pbench-move-results --controller="\"${controller_name}\"" --user="\"${user}\"" --prefix="\"${results_prefix}\"" >> /tmp/debugging
pbench-move-results --controller="${controller_name}" --user="${user}" --prefix="${results_prefix}"
else
echo pbench-copy-results --controller="\"${controller_name}\"" --user="\"${user}\"" --prefix="\"${results_prefix}\"" >> /tmp/debugging
pbench-copy-results --controller="${controller_name}" --user="${user}" --prefix="${results_prefix}"
fi
exit $?

0 comments on commit 94148b5

Please sign in to comment.