aboutsummaryrefslogtreecommitdiffstats
path: root/tools/dftestlib/uint64.py
blob: c6cf82b0405ef5fe5e3c05da8fc46a46bae558e6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
# Copyright (c) 2013 by Gilbert Ramirez <gram@alumni.rice.edu>

from dftestlib import dftest

class testUINT64(dftest.DFTest):
    trace_file = "nfs.cap"

    def test_uint64_1(self):
        dfilter = "nfs.fattr3.size == 264032"
        self.assertDFilterCount(dfilter, 1)

    def test_uint64_2(self):
        dfilter = "nfs.fattr3.size == 264000"
        self.assertDFilterCount(dfilter, 0)