summaryrefslogtreecommitdiff
path: root/bin/vyos-smoketest
blob: 1ae00d5b8c4c75965e2ca6fffc3b79e7a636fd41 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#!/usr/bin/env python3

import os
import sys

test_dir = '/usr/libexec/vyos/tests/smoke'

tests = ['test_module_load.py']

success = True

for t in tests:
    try:
        os.system(os.path.join(test_dir, t))
    except Exception as e:
        success = False

if not success:
    sys.exit(1)