16470: Adds ArvadosModel test exposing a bug with audit logs.
[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 from __future__ import absolute_import
6 import subprocess
7
8 from .integration_test import IntegrationTest
9
10
11 class CrunchstatTest(IntegrationTest):
12     def test_crunchstat(self):
13         output = subprocess.check_output(
14             ['./bin/arv-mount',
15              '--crunchstat-interval', '1',
16              self.mnt,
17              '--exec', 'echo', 'ok'])
18         self.assertEqual(b"ok\n", output)