Skip to content

Commit

Permalink
Add sed in circle test to reduce sampleconfig test file
Browse files Browse the repository at this point in the history
  • Loading branch information
titilambert committed Feb 22, 2016
1 parent bf32470 commit dd0ac98
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions scripts/circle-test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,7 @@ exit_if_fail "telegraf -version | grep $VERSION"
# check that one test cpu & mem output work
tmpdir=$(mktemp -d)
telegraf -sample-config > $tmpdir/config.toml
sed -i "/^ *#.*/d" $tmpdir/config.toml
exit_if_fail telegraf -config $tmpdir/config.toml \
-test -input-filter cpu:mem

Expand Down

0 comments on commit dd0ac98

Please sign in to comment.