Skip to content

Commit

Permalink
fix failing tests in case of wrapper build warnings, e.g. on raspbian
Browse files Browse the repository at this point in the history
  • Loading branch information
d99kris committed Jan 22, 2022
1 parent db23440 commit 5f17077
Show file tree
Hide file tree
Showing 7 changed files with 9 additions and 9 deletions.
4 changes: 2 additions & 2 deletions src/cpuusage
Original file line number Diff line number Diff line change
Expand Up @@ -78,9 +78,9 @@ showusage()
# Version
showversion()
{
echo "cpuusage v1.46"
echo "cpuusage v1.47"
echo ""
echo "Copyright (C) 2017-2021 Kristofer Berggren"
echo "Copyright (C) 2017-2022 Kristofer Berggren"
echo ""
echo "cpuusage is distributed under the BSD 3-Clause license."
echo ""
Expand Down
4 changes: 2 additions & 2 deletions src/cpuusage.1
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
.\" DO NOT MODIFY THIS FILE! It was generated by help2man.
.TH CPUUSAGE "1" "December 2021" "cpuusage v1.46" "User Commands"
.TH CPUUSAGE "1" "January 2022" "cpuusage v1.47" "User Commands"
.SH NAME
cpuusage \- instrumentation CPU profiler
.SH SYNOPSIS
Expand Down Expand Up @@ -126,6 +126,6 @@ Written by Kristofer Berggren
.SH "REPORTING BUGS"
Report bugs at https://github.com/d99kris/cpuusage
.SH COPYRIGHT
Copyright \(co 2017\-2021 Kristofer Berggren
Copyright \(co 2017\-2022 Kristofer Berggren
.PP
cpuusage is distributed under the BSD 3\-Clause license.
2 changes: 1 addition & 1 deletion tests/test001
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ RV=0
TMPDIR=$(mktemp -d)

# Run application
./bin/cpuusage -v -o out.html -f fopen,fwrite,fread,fclose ./ex001 &> ${TMPDIR}/out.txt
./bin/cpuusage -v -o out.html -f fopen,fwrite,fread,fclose ./ex001 > ${TMPDIR}/out.txt

# Expected
# cpuusage: https://github.com/d99kris/cpuusage
Expand Down
2 changes: 1 addition & 1 deletion tests/test002
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ RV=0
TMPDIR=$(mktemp -d)

# Run application
./bin/cpuusage -v -o out.html -c ./ex002 &> ${TMPDIR}/out.txt
./bin/cpuusage -v -o out.html -c ./ex002 > ${TMPDIR}/out.txt

# Expected
# cpuusage: https://github.com/d99kris/cpuusage
Expand Down
2 changes: 1 addition & 1 deletion tests/test003
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ pushd ${TMPDIR} > /dev/null

# Run application
${BUILDDIR}/ex003
${BUILDDIR}/bin/cpuusage -v -r culog.json &> ${TMPDIR}/out.txt
${BUILDDIR}/bin/cpuusage -v -r culog.json > ${TMPDIR}/out.txt

# Expected
# cpuusage: https://github.com/d99kris/cpuusage
Expand Down
2 changes: 1 addition & 1 deletion tests/test004
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ RV=0
TMPDIR=$(mktemp -d)

# Run application
./bin/cpuusage -v -o ${TMPDIR}/out.html -j ${TMPDIR}/out.json -p ./ex004 &> ${TMPDIR}/out.txt
./bin/cpuusage -v -o ${TMPDIR}/out.html -j ${TMPDIR}/out.json -p ./ex004 > ${TMPDIR}/out.txt

# Expected
# cpuusage: https://github.com/d99kris/cpuusage
Expand Down
2 changes: 1 addition & 1 deletion tests/test005
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ RV=0
TMPDIR=$(mktemp -d)

# Run application
./bin/cpuusage -v -o ${TMPDIR}/out.html -j ${TMPDIR}/out.json -p ./ex005.sh &> ${TMPDIR}/out.txt
./bin/cpuusage -v -o ${TMPDIR}/out.html -j ${TMPDIR}/out.json -p ./ex005.sh > ${TMPDIR}/out.txt

# Expected
# cpuusage: https://github.com/d99kris/cpuusage
Expand Down

0 comments on commit 5f17077

Please sign in to comment.