Merge branch '8784-dir-listings'
[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
10 class CrunchstatTest(IntegrationTest):
11     def test_crunchstat(self):
12         output = subprocess.check_output(
13             ['./bin/arv-mount',
14              '--crunchstat-interval', '1',
15              self.mnt,
16              '--exec', 'echo', 'ok'])
17         self.assertEqual("ok\n", output)