diff options
author | Bill Peck <bpeck@redhat.com> | 2014-06-03 17:18:59 -0400 |
---|---|---|
committer | Bill Peck <bpeck@redhat.com> | 2014-06-03 17:18:59 -0400 |
commit | 16336749ae065568fb8ce844f61da055ca2adfc9 (patch) | |
tree | eb4b7f903eacec4af4e7acf2ea33495f7277fd8c /misc | |
parent | d0e83d7dfd12c7fbd363b0d0d5f7da0144b466e0 (diff) | |
download | tests-16336749ae065568fb8ce844f61da055ca2adfc9.tar.gz tests-16336749ae065568fb8ce844f61da055ca2adfc9.tar.xz tests-16336749ae065568fb8ce844f61da055ca2adfc9.zip |
just upload a log
Diffstat (limited to 'misc')
-rwxr-xr-x | misc/ipv6/info/collect.sh | 12 |
1 files changed, 5 insertions, 7 deletions
diff --git a/misc/ipv6/info/collect.sh b/misc/ipv6/info/collect.sh index 5413bfc..e227c88 100755 --- a/misc/ipv6/info/collect.sh +++ b/misc/ipv6/info/collect.sh @@ -1,13 +1,11 @@ #!/bin/sh -tmpfile=$(mktemp) -hostname > $tmpfile +hostname > ipv6.log for dev in $(ip -6 -o a s | grep -v lo | awk '{print $2}'); do - ip -0 -o a s $dev >> $tmpfile - ip -6 -o a s $dev >> $tmpfile + ip -0 -o a s $dev >> ipv6.log + ip -6 -o a s $dev >> ipv6.log done -rstrnt-report-result --no-plugins --outputfile $tmpfile $RSTRNT_TASKNAME PASS 0 - -rm -f $tmpfile +rstrnt-report-result --no-plugins $RSTRNT_TASKNAME PASS 0 +rstrnt-report-log -l ipv6.log |