]> git.proxmox.com Git - ovs.git/commit
test: Avoid using 'truncate' command
authorMark Michelson <mmichels@redhat.com>
Mon, 11 Sep 2017 20:58:12 +0000 (15:58 -0500)
committerAlin Gabriel Serdean <aserdean@ovn.org>
Mon, 11 Sep 2017 23:17:44 +0000 (02:17 +0300)
commit3a0c5805f90f141ec138ec71d4ec94d84db30531
tree98f987c7e9dff14ed6ea5e1b34dea5697d56f8ef
parentd5c70d4bcc344ae10a644b83f1790a0235871efc
test: Avoid using 'truncate' command

The 'truncate' command is not available on all platforms. Since the
command was being used to zero out a file, there are other easy options
available. In this case, I've replaced 'truncate' with a redirection.

Reported-by: Alin Gabriel Serdean <aserdean@ovn.org>
Signed-off-by: Mark Michelson <mmichels@redhat.com>
Tested-by: Alin Gabriel Serdean <aserdean@ovn.org>
Acked-by: Alin Gabriel Serdean <aserdean@ovn.org>
Signed-off-by: Alin Gabriel Serdean <aserdean@ovn.org>
tests/ovn.at