aboutsummaryrefslogtreecommitdiffstats
path: root/tests/test_integration
blob: 5ab23a740e7cf68ad9290e7a92565d4ba2064553 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
#!/bin/bash
# SPDX-license-identifier: Apache-2.0
##############################################################################
# Copyright (c) 2017-2018
# All rights reserved. This program and the accompanying materials
# are made available under the terms of the Apache License, Version 2.0
# which accompanies this distribution, and is available at
# http://www.apache.org/licenses/LICENSE-2.0
#############################################################################

source /var/onap_tests/_test_base
source /var/onap/integration

covered_functions=(
"clone_integration_repos"
)

# test_clone_integration_repos() - Verify that Integration repositories are cloned properly
function test_clone_integration_repos {
    clone_repos "integration"

    asserts_file_exist ${src_folders[integration]}/README.md
    asserts_file_exist ${src_folders[integration]}/devtool/LICENSE
    #asserts_file_exist ${src_folders[integration]}/seccom/
}

if [ "$1" != '*' ]; then
    unset covered_functions
    covered_functions=$1
fi
main "${covered_functions[@]}"