Merge branch '21815-trigrams-exclude-ids'
[arvados.git] / services / fuse / tests / test_crunchstat.py
1 # Copyright (C) The Arvados Authors. All rights reserved.
2 #
3 # SPDX-License-Identifier: AGPL-3.0
4
5 import subprocess
6
7 from .integration_test import IntegrationTest
8
9 class CrunchstatTest(IntegrationTest):
10     def test_crunchstat(self):
11         output = subprocess.check_output(
12             ['./bin/arv-mount',
13              '--crunchstat-interval', '1',
14              self.mnt,
15              '--exec', 'echo', 'ok'])
16         self.assertEqual(b"ok\n", output)