Changeset 43b773a


Ignore:
Timestamp:
03/01/18 17:20:58 (3 years ago)
Author:
Shane Alcock <salcock@…>
Branches:
cachetimestamps, develop, etsilive, master, rc-4.0.3, rc-4.0.4, ringdecrementfix, ringperformance
Children:
29cafc0
Parents:
02d13cb
Message:

Add basic tests for reading ERF provenance records

Location:
test
Files:
1 added
4 edited

Legend:

Unmodified
Added
Removed
  • test/do-tests-parallel.sh

    rccef50c r43b773a  
    2020echo \* Read erf
    2121do_test ./test-format-parallel erf
     22
     23echo \* Read erf provenance
     24do_test ./test-format-parallel erfprov
    2225
    2326echo \* Read pcap
  • test/do-tests.sh

    rccef50c r43b773a  
    3333do_test ./test-format erf
    3434do_test ./test-decode erf
     35
     36echo \* Read erf provenance
     37do_test ./test-format erfprov
    3538
    3639echo \* Read pcap
  • test/test-format-parallel.c

    r568a341 r43b773a  
    6666        if (!strcmp(type,"erf"))
    6767                return "erf:traces/100_packets.erf";
     68        if (!strcmp(type,"erfprov"))
     69                return "erf:traces/provenance.erf";
    6870        if (!strcmp(type,"rawerf"))
    6971                return "rawerf:traces/100_packets.erf";
  • test/test-format.c

    r568a341 r43b773a  
    8787        if (!strcmp(type, "tsh"))
    8888                return "tsh:traces/10_packets.tsh.gz";
     89        if (!strcmp(type, "erfprov"))
     90                return "erf:traces/provenance.erf";
    8991        return type;
    9092}
Note: See TracChangeset for help on using the changeset viewer.