Fixed filters for functional tests

Removed filter for unused tee utility.
CommandFilter for curl replaced with more stricted RegExpFilter
and now allow run curl only with specified parameters.

Change-Id: I5d151a63f85cb969f79d4d92f5422e8e88855be5
Closes-Bug: #1487139
This commit is contained in:
Sergey Belous 2015-08-31 17:44:19 +03:00
parent bce1ae72ad
commit ed392dc535
1 changed files with 1 additions and 3 deletions

View File

@ -9,9 +9,7 @@ ping_filter: CommandFilter, ping, root
ping6_filter: CommandFilter, ping6, root
# enable curl from namespace
curl_filter: CommandFilter, curl, root
tee_filter: CommandFilter, tee, root
tee_kill: KillFilter, root, tee, -9
curl_filter: RegExpFilter, /usr/bin/curl, root, curl, --max-time, \d+, -D-, http://[0-9a-z:./-]+
nc_filter: CommandFilter, nc, root
# netcat has different binaries depending on linux distribution
nc_kill: KillFilter, root, nc, -9