add (c) and SPDX header to bash files as needed
per Intel policy to include file commit date using git cmd below. The policy does not apply to non-Intel (C) notices. git log --follow -C90% --format=%ad --date default <file> | tail -1 and then pull just the year from the result. Intel copyrights were not added to files where Intel either had no contribution ot the contribution lacked substance (ie license header updates, formatting changes, etc) For intel copyrights added, --follow and -C95% were used. Signed-off-by: paul luse <paul.e.luse@intel.com> Change-Id: I2ef86976095b88a9bf5b1003e59f3943cd6bbe4c Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/15209 Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> Community-CI: Mellanox Build Bot Reviewed-by: Ben Walker <benjamin.walker@intel.com> Reviewed-by: Krzysztof Karas <krzysztof.karas@intel.com> Reviewed-by: Jim Harris <james.r.harris@intel.com>
This commit is contained in:
parent
97455abea2
commit
eb53c23236
@ -1,4 +1,8 @@
|
|||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
|
# SPDX-License-Identifier: BSD-3-Clause
|
||||||
|
# Copyright (C) 2015 Intel Corporation
|
||||||
|
# All rights reserved.
|
||||||
|
#
|
||||||
|
|
||||||
set -e
|
set -e
|
||||||
|
|
||||||
|
@ -1,4 +1,8 @@
|
|||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
|
# SPDX-License-Identifier: BSD-3-Clause
|
||||||
|
# Copyright (C) 2015 Intel Corporation
|
||||||
|
# All rights reserved.
|
||||||
|
#
|
||||||
|
|
||||||
set -e
|
set -e
|
||||||
|
|
||||||
|
@ -1,4 +1,8 @@
|
|||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
|
# SPDX-License-Identifier: BSD-3-Clause
|
||||||
|
# Copyright (C) 2016 Intel Corporation
|
||||||
|
# All rights reserved.
|
||||||
|
#
|
||||||
|
|
||||||
set -e
|
set -e
|
||||||
|
|
||||||
|
@ -1,4 +1,8 @@
|
|||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
|
# SPDX-License-Identifier: BSD-3-Clause
|
||||||
|
# Copyright (C) 2015 Intel Corporation
|
||||||
|
# All rights reserved.
|
||||||
|
#
|
||||||
|
|
||||||
rootdir=$(readlink -f $(dirname $0))
|
rootdir=$(readlink -f $(dirname $0))
|
||||||
|
|
||||||
|
4
configure
vendored
4
configure
vendored
@ -1,4 +1,8 @@
|
|||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
|
# SPDX-License-Identifier: BSD-3-Clause
|
||||||
|
# Copyright (C) 2017 Intel Corporation
|
||||||
|
# All rights reserved.
|
||||||
|
#
|
||||||
|
|
||||||
set -e
|
set -e
|
||||||
|
|
||||||
|
@ -1,4 +1,9 @@
|
|||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
|
# SPDX-License-Identifier: BSD-3-Clause
|
||||||
|
# Copyright (C) 2021 Intel Corporation
|
||||||
|
# All rights reserved.
|
||||||
|
#
|
||||||
|
|
||||||
set -e
|
set -e
|
||||||
|
|
||||||
dnf install -y /tmp/*.rpm
|
dnf install -y /tmp/*.rpm
|
||||||
|
@ -1,4 +1,8 @@
|
|||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
|
# SPDX-License-Identifier: BSD-3-Clause
|
||||||
|
# Copyright (C) 2021 Intel Corporation
|
||||||
|
# All rights reserved.
|
||||||
|
#
|
||||||
|
|
||||||
app=spdk_tgt args=() limit_args=()
|
app=spdk_tgt args=() limit_args=()
|
||||||
|
|
||||||
|
@ -1,4 +1,8 @@
|
|||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
|
# SPDX-License-Identifier: BSD-3-Clause
|
||||||
|
# Copyright (C) 2021 Intel Corporation
|
||||||
|
# All rights reserved.
|
||||||
|
#
|
||||||
|
|
||||||
args=()
|
args=()
|
||||||
|
|
||||||
|
@ -1,4 +1,8 @@
|
|||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
|
# SPDX-License-Identifier: BSD-3-Clause
|
||||||
|
# Copyright (C) 2021 Intel Corporation
|
||||||
|
# All rights reserved.
|
||||||
|
#
|
||||||
# This script simply iterates over all libs SPDK binaries link
|
# This script simply iterates over all libs SPDK binaries link
|
||||||
# to and returns a list of .rpm packages SPDK may depend on. At
|
# to and returns a list of .rpm packages SPDK may depend on. At
|
||||||
# the end, the list strictly relates to how the SPDK build was
|
# the end, the list strictly relates to how the SPDK build was
|
||||||
|
@ -1,4 +1,8 @@
|
|||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
|
# SPDX-License-Identifier: BSD-3-Clause
|
||||||
|
# Copyright (C) 2021 Intel Corporation
|
||||||
|
# All rights reserved.
|
||||||
|
#
|
||||||
|
|
||||||
set -e
|
set -e
|
||||||
|
|
||||||
|
@ -1,4 +1,8 @@
|
|||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
|
# SPDX-License-Identifier: BSD-3-Clause
|
||||||
|
# Copyright (C) 2022 Intel Corporation
|
||||||
|
# All rights reserved.
|
||||||
|
|
||||||
# The xnvme build executes library_bundler.py which wraps itself around ar
|
# The xnvme build executes library_bundler.py which wraps itself around ar
|
||||||
# to create libxnvme.a. It builds a set of MRI commands which then is
|
# to create libxnvme.a. It builds a set of MRI commands which then is
|
||||||
# passed to ar via stdin. The set of members is declared via ADDLIB
|
# passed to ar via stdin. The set of members is declared via ADDLIB
|
||||||
|
@ -1,4 +1,7 @@
|
|||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
|
# SPDX-License-Identifier: BSD-3-Clause
|
||||||
|
# All rights reserved.
|
||||||
|
#
|
||||||
|
|
||||||
# exit on errors
|
# exit on errors
|
||||||
set -e
|
set -e
|
||||||
|
@ -1,4 +1,9 @@
|
|||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
|
# SPDX-License-Identifier: BSD-3-Clause
|
||||||
|
# Copyright (C) 2021 Intel Corporation
|
||||||
|
# All rights reserved.
|
||||||
|
#
|
||||||
|
|
||||||
set -e
|
set -e
|
||||||
|
|
||||||
rootdir=$(git rev-parse --show-toplevel)
|
rootdir=$(git rev-parse --show-toplevel)
|
||||||
|
@ -1,4 +1,9 @@
|
|||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
|
# SPDX-License-Identifier: BSD-3-Clause
|
||||||
|
# Copyright (C) 2021 Intel Corporation
|
||||||
|
# All rights reserved.
|
||||||
|
#
|
||||||
|
|
||||||
set -e
|
set -e
|
||||||
|
|
||||||
if [ $# -lt 2 ]; then
|
if [ $# -lt 2 ]; then
|
||||||
|
@ -1,4 +1,8 @@
|
|||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
|
# SPDX-License-Identifier: BSD-3-Clause
|
||||||
|
# Copyright (C) 2017 Intel Corporation
|
||||||
|
# All rights reserved.
|
||||||
|
#
|
||||||
# create mon
|
# create mon
|
||||||
|
|
||||||
set -x
|
set -x
|
||||||
|
@ -1,5 +1,8 @@
|
|||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
|
# SPDX-License-Identifier: BSD-3-Clause
|
||||||
|
# Copyright (C) 2017 Intel Corporation
|
||||||
|
# All rights reserved.
|
||||||
|
#
|
||||||
set -x
|
set -x
|
||||||
|
|
||||||
base_dir=/var/tmp/ceph
|
base_dir=/var/tmp/ceph
|
||||||
|
@ -1,5 +1,8 @@
|
|||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
|
# SPDX-License-Identifier: BSD-3-Clause
|
||||||
|
# Copyright (C) 2015 Intel Corporation
|
||||||
|
# All rights reserved.
|
||||||
|
#
|
||||||
if [[ $(uname -s) == Darwin ]]; then
|
if [[ $(uname -s) == Darwin ]]; then
|
||||||
# SPDK is not supported on MacOS, but as a developer
|
# SPDK is not supported on MacOS, but as a developer
|
||||||
# convenience we support running the check_format.sh
|
# convenience we support running the check_format.sh
|
||||||
|
@ -1,3 +1,8 @@
|
|||||||
|
# SPDX-License-Identifier: BSD-3-Clause
|
||||||
|
# Copyright (C) 2018 Intel Corporation
|
||||||
|
# All rights reserved.
|
||||||
|
#
|
||||||
|
|
||||||
# Common shell utility functions
|
# Common shell utility functions
|
||||||
|
|
||||||
# Check if PCI device is in PCI_ALLOWED and not in PCI_BLOCKED
|
# Check if PCI device is in PCI_ALLOWED and not in PCI_BLOCKED
|
||||||
|
@ -1,4 +1,8 @@
|
|||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
|
# SPDX-License-Identifier: BSD-3-Clause
|
||||||
|
# Copyright (C) 2020 Intel Corporation
|
||||||
|
# All rights reserved.
|
||||||
|
#
|
||||||
# We don't want to tell kernel to include %e or %E since these
|
# We don't want to tell kernel to include %e or %E since these
|
||||||
# can include whitespaces or other funny characters, and working
|
# can include whitespaces or other funny characters, and working
|
||||||
# with those on the cmdline would be a nightmare. Use procfs for
|
# with those on the cmdline would be a nightmare. Use procfs for
|
||||||
|
@ -1,5 +1,8 @@
|
|||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
|
# SPDX-License-Identifier: BSD-3-Clause
|
||||||
|
# Copyright (C) 2016 Intel Corporation
|
||||||
|
# All rights reserved.
|
||||||
|
#
|
||||||
set -e
|
set -e
|
||||||
|
|
||||||
function err() {
|
function err() {
|
||||||
|
@ -1,4 +1,8 @@
|
|||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
|
# SPDX-License-Identifier: BSD-3-Clause
|
||||||
|
# Copyright (C) 2016 Intel Corporation
|
||||||
|
# All rights reserved.
|
||||||
|
|
||||||
# Make sure file has a trailing newline
|
# Make sure file has a trailing newline
|
||||||
|
|
||||||
f="$1"
|
f="$1"
|
||||||
|
@ -1,4 +1,8 @@
|
|||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
|
# SPDX-License-Identifier: BSD-3-Clause
|
||||||
|
# Copyright (C) 2021 Intel Corporation
|
||||||
|
# All rights reserved.
|
||||||
|
|
||||||
rootdir=$(readlink -f "$(dirname "$0")/../")
|
rootdir=$(readlink -f "$(dirname "$0")/../")
|
||||||
|
|
||||||
shopt -s nullglob extglob
|
shopt -s nullglob extglob
|
||||||
|
@ -1,5 +1,8 @@
|
|||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
|
# SPDX-License-Identifier: BSD-3-Clause
|
||||||
|
# Copyright (C) 2018 Intel Corporation
|
||||||
|
# All rights reserved.
|
||||||
|
#
|
||||||
set -e
|
set -e
|
||||||
|
|
||||||
rootdir=$(readlink -f $(dirname $0))/..
|
rootdir=$(readlink -f $(dirname $0))/..
|
||||||
|
@ -1,5 +1,8 @@
|
|||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
|
# SPDX-License-Identifier: BSD-3-Clause
|
||||||
|
# Copyright (C) 2017 Intel Corporation
|
||||||
|
# All rights reserved.
|
||||||
|
#
|
||||||
set -e
|
set -e
|
||||||
|
|
||||||
rootdir=$(readlink -f $(dirname $0))/..
|
rootdir=$(readlink -f $(dirname $0))/..
|
||||||
|
@ -1,4 +1,8 @@
|
|||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
|
# SPDX-License-Identifier: BSD-3-Clause
|
||||||
|
# Copyright (C) 2021 Intel Corporation
|
||||||
|
# All rights reserved.
|
||||||
|
|
||||||
# We simply check if BAR2 is present as that's where PMR or CMB is
|
# We simply check if BAR2 is present as that's where PMR or CMB is
|
||||||
# meant to be located under qemu. If found, print some stats then exit.
|
# meant to be located under qemu. If found, print some stats then exit.
|
||||||
shopt -s nullglob
|
shopt -s nullglob
|
||||||
|
@ -1,4 +1,7 @@
|
|||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
|
# SPDX-License-Identifier: BSD-3-Clause
|
||||||
|
# Copyright (C) 2021 Intel Corporation
|
||||||
|
# All rights reserved.
|
||||||
|
|
||||||
set -e
|
set -e
|
||||||
|
|
||||||
|
@ -1,4 +1,8 @@
|
|||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
|
# SPDX-License-Identifier: BSD-3-Clause
|
||||||
|
# Copyright (C) 2020 Intel Corporation
|
||||||
|
# All rights reserved.
|
||||||
|
#
|
||||||
cat << EOF
|
cat << EOF
|
||||||
Description: SPDK $3 library
|
Description: SPDK $3 library
|
||||||
Name: spdk_$3
|
Name: spdk_$3
|
||||||
|
@ -1,4 +1,9 @@
|
|||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
|
# SPDX-License-Identifier: BSD-3-Clause
|
||||||
|
# Copyright (C) 2020 Intel Corporation
|
||||||
|
# All rights reserved.
|
||||||
|
#
|
||||||
|
|
||||||
cat << EOF
|
cat << EOF
|
||||||
Description: $3 libraries used by SPDK
|
Description: $3 libraries used by SPDK
|
||||||
Name: $4
|
Name: $4
|
||||||
|
@ -1,4 +1,8 @@
|
|||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
|
# SPDX-License-Identifier: BSD-3-Clause
|
||||||
|
# Copyright (C) 2020 Intel Corporation
|
||||||
|
# All rights reserved.
|
||||||
|
#
|
||||||
cat << EOF
|
cat << EOF
|
||||||
Description: SPDK $1 modules
|
Description: SPDK $1 modules
|
||||||
Name: spdk_$1_modules
|
Name: spdk_$1_modules
|
||||||
|
@ -1,5 +1,8 @@
|
|||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
|
# SPDX-License-Identifier: BSD-3-Clause
|
||||||
|
# Copyright (C) 2017 Intel Corporation
|
||||||
|
# All rights reserved.
|
||||||
|
#
|
||||||
testdir=$(readlink -f $(dirname $0))
|
testdir=$(readlink -f $(dirname $0))
|
||||||
rootdir=$(readlink -f $testdir/../../..)
|
rootdir=$(readlink -f $testdir/../../..)
|
||||||
|
|
||||||
|
@ -1,4 +1,8 @@
|
|||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
|
# SPDX-License-Identifier: BSD-3-Clause
|
||||||
|
# Copyright (C) 2022 Intel Corporation
|
||||||
|
# All rights reserved.
|
||||||
|
|
||||||
set -e
|
set -e
|
||||||
|
|
||||||
hex() { printf '0x%02x\n' "$@"; }
|
hex() { printf '0x%02x\n' "$@"; }
|
||||||
|
@ -1,4 +1,8 @@
|
|||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
|
# SPDX-License-Identifier: BSD-3-Clause
|
||||||
|
# Copyright (C) 2022 Intel Corporation
|
||||||
|
# All rights reserved.
|
||||||
|
#
|
||||||
|
|
||||||
curdir=$(readlink -f "$(dirname "$0")")
|
curdir=$(readlink -f "$(dirname "$0")")
|
||||||
rootdir=$(readlink -f "$curdir/../../../")
|
rootdir=$(readlink -f "$curdir/../../../")
|
||||||
|
@ -1,4 +1,8 @@
|
|||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
|
# SPDX-License-Identifier: BSD-3-Clause
|
||||||
|
# Copyright (C) 2017 Intel Corporation
|
||||||
|
# All rights reserved.
|
||||||
|
#
|
||||||
# Please run this script as root.
|
# Please run this script as root.
|
||||||
|
|
||||||
set -e
|
set -e
|
||||||
|
@ -1,5 +1,8 @@
|
|||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
|
# SPDX-License-Identifier: BSD-3-Clause
|
||||||
|
# Copyright (C) 2020 Intel Corporation
|
||||||
|
# All rights reserved.
|
||||||
|
#
|
||||||
# Install main dependencies
|
# Install main dependencies
|
||||||
pacman -Sy --needed --noconfirm gcc make cunit libaio openssl \
|
pacman -Sy --needed --noconfirm gcc make cunit libaio openssl \
|
||||||
libutil-linux libiscsi python ncurses json-c cmocka ninja meson
|
libutil-linux libiscsi python ncurses json-c cmocka ninja meson
|
||||||
|
@ -1,5 +1,8 @@
|
|||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
|
# SPDX-License-Identifier: BSD-3-Clause
|
||||||
|
# Copyright (C) 2020 Intel Corporation
|
||||||
|
# All rights reserved.
|
||||||
|
#
|
||||||
# Install main dependencies
|
# Install main dependencies
|
||||||
swupd bundle-add -y c-basic make dev-utils openssl devpkg-libiscsi \
|
swupd bundle-add -y c-basic make dev-utils openssl devpkg-libiscsi \
|
||||||
devpkg-ncurses python3-basic python-extras devpkg-open-iscsi devpkg-json-c \
|
devpkg-ncurses python3-basic python-extras devpkg-open-iscsi devpkg-json-c \
|
||||||
|
@ -1,5 +1,8 @@
|
|||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
|
# SPDX-License-Identifier: BSD-3-Clause
|
||||||
|
# Copyright (C) 2020 Intel Corporation
|
||||||
|
# All rights reserved.
|
||||||
|
#
|
||||||
install_liburing() {
|
install_liburing() {
|
||||||
local GIT_REPO_LIBURING=https://github.com/axboe/liburing.git
|
local GIT_REPO_LIBURING=https://github.com/axboe/liburing.git
|
||||||
local liburing_dir=/usr/local/src/liburing
|
local liburing_dir=/usr/local/src/liburing
|
||||||
|
@ -1,4 +1,8 @@
|
|||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
|
# SPDX-License-Identifier: BSD-3-Clause
|
||||||
|
# Copyright (C) 2020 Intel Corporation
|
||||||
|
# All rights reserved.
|
||||||
|
#
|
||||||
|
|
||||||
VERSION_ID_NUM=$(sed 's/\.//g' <<< $VERSION_ID)
|
VERSION_ID_NUM=$(sed 's/\.//g' <<< $VERSION_ID)
|
||||||
# Includes Ubuntu, Debian
|
# Includes Ubuntu, Debian
|
||||||
|
@ -1,5 +1,8 @@
|
|||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
|
# SPDX-License-Identifier: BSD-3-Clause
|
||||||
|
# Copyright (C) 2020 Intel Corporation
|
||||||
|
# All rights reserved.
|
||||||
|
#
|
||||||
# Minimal install
|
# Minimal install
|
||||||
pkg install -y gmake cunit openssl git bash misc/e2fsprogs-libuuid python \
|
pkg install -y gmake cunit openssl git bash misc/e2fsprogs-libuuid python \
|
||||||
ncurses ninja meson
|
ncurses ninja meson
|
||||||
|
@ -1,4 +1,8 @@
|
|||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
|
# SPDX-License-Identifier: BSD-3-Clause
|
||||||
|
# Copyright (C) 2020 Intel Corporation
|
||||||
|
# All rights reserved.
|
||||||
|
#
|
||||||
|
|
||||||
disclaimer() {
|
disclaimer() {
|
||||||
case "$ID" in
|
case "$ID" in
|
||||||
|
@ -1,5 +1,8 @@
|
|||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
|
# SPDX-License-Identifier: BSD-3-Clause
|
||||||
|
# Copyright (C) 2020 Intel Corporation
|
||||||
|
# All rights reserved.
|
||||||
|
#
|
||||||
# Minimal install
|
# Minimal install
|
||||||
zypper install -y gcc gcc-c++ make cunit-devel libaio-devel libopenssl-devel \
|
zypper install -y gcc gcc-c++ make cunit-devel libaio-devel libopenssl-devel \
|
||||||
libuuid-devel python-base ncurses-devel libjson-c-devel libcmocka-devel \
|
libuuid-devel python-base ncurses-devel libjson-c-devel libcmocka-devel \
|
||||||
|
@ -1,5 +1,8 @@
|
|||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
|
# SPDX-License-Identifier: BSD-3-Clause
|
||||||
|
# Copyright (C) 2017 Intel Corporation
|
||||||
|
# All rights reserved.
|
||||||
|
#
|
||||||
function configure_performance() {
|
function configure_performance() {
|
||||||
echo -n "Placing all CPUs in performance mode..."
|
echo -n "Placing all CPUs in performance mode..."
|
||||||
for governor in /sys/devices/system/cpu/cpu*/cpufreq/scaling_governor; do
|
for governor in /sys/devices/system/cpu/cpu*/cpufreq/scaling_governor; do
|
||||||
|
@ -1,4 +1,8 @@
|
|||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
|
# SPDX-License-Identifier: BSD-3-Clause
|
||||||
|
# Copyright (C) 2018 Intel Corporation
|
||||||
|
# All rights reserved.
|
||||||
|
#
|
||||||
shopt -s nullglob
|
shopt -s nullglob
|
||||||
|
|
||||||
rootdir=$(readlink -f $(dirname $0))/..
|
rootdir=$(readlink -f $(dirname $0))/..
|
||||||
|
@ -1,4 +1,8 @@
|
|||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
|
# SPDX-License-Identifier: BSD-3-Clause
|
||||||
|
# Copyright (C) 2020 Intel Corporation
|
||||||
|
# All rights reserved.
|
||||||
|
#
|
||||||
[[ $(uname -s) == Linux ]] || exit 0
|
[[ $(uname -s) == Linux ]] || exit 0
|
||||||
|
|
||||||
shopt -s extglob nullglob
|
shopt -s extglob nullglob
|
||||||
|
@ -1,5 +1,8 @@
|
|||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
|
# SPDX-License-Identifier: BSD-3-Clause
|
||||||
|
# Copyright (C) 2016 Intel Corporation
|
||||||
|
# All rights reserved.
|
||||||
|
#
|
||||||
set -e
|
set -e
|
||||||
shopt -s nullglob extglob
|
shopt -s nullglob extglob
|
||||||
|
|
||||||
|
@ -1,4 +1,8 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
# SPDX-License-Identifier: BSD-3-Clause
|
||||||
|
# Copyright (C) 2022 Intel Corporation
|
||||||
|
# All rights reserved.
|
||||||
|
#
|
||||||
|
|
||||||
(
|
(
|
||||||
cat << 'END'
|
cat << 'END'
|
||||||
|
@ -1,4 +1,8 @@
|
|||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
|
# SPDX-License-Identifier: BSD-3-Clause
|
||||||
|
# Copyright (C) 2020 Intel Corporation
|
||||||
|
# All rights reserved.
|
||||||
|
#
|
||||||
shopt -s extglob
|
shopt -s extglob
|
||||||
|
|
||||||
exec {err}>&2
|
exec {err}>&2
|
||||||
|
@ -1,4 +1,8 @@
|
|||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
|
# SPDX-License-Identifier: BSD-3-Clause
|
||||||
|
# Copyright (C) 2017 Intel Corporation
|
||||||
|
# All rights reserved.
|
||||||
|
#
|
||||||
SYSTEM=$(uname -s)
|
SYSTEM=$(uname -s)
|
||||||
size="1024M"
|
size="1024M"
|
||||||
nvme_disk="/var/lib/libvirt/images/nvme_disk.img"
|
nvme_disk="/var/lib/libvirt/images/nvme_disk.img"
|
||||||
|
@ -1,5 +1,8 @@
|
|||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
|
# SPDX-License-Identifier: BSD-3-Clause
|
||||||
|
# Copyright (C) 2018 Intel Corporation
|
||||||
|
# All rights reserved.
|
||||||
|
#
|
||||||
# create_vbox.sh
|
# create_vbox.sh
|
||||||
#
|
#
|
||||||
# Creates a virtual box with vagrant in the $PWD.
|
# Creates a virtual box with vagrant in the $PWD.
|
||||||
|
@ -1,5 +1,6 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
# SPDX-License-Identifier: BSD-3-Clause
|
# SPDX-License-Identifier: BSD-3-Clause
|
||||||
|
# Copyright (C) 2018 Intel Corporation.
|
||||||
# Copyright (c) 2018 by NetApp, Inc.
|
# Copyright (c) 2018 by NetApp, Inc.
|
||||||
# All Rights Reserved.
|
# All Rights Reserved.
|
||||||
|
|
||||||
|
@ -1,5 +1,8 @@
|
|||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
|
# SPDX-License-Identifier: BSD-3-Clause
|
||||||
|
# Copyright (C) 2017 Intel Corporation
|
||||||
|
# All rights reserved.
|
||||||
|
#
|
||||||
if [ ! "$USER" = "root" ]; then
|
if [ ! "$USER" = "root" ]; then
|
||||||
echo
|
echo
|
||||||
echo Error: must be run as root!
|
echo Error: must be run as root!
|
||||||
|
@ -1,4 +1,8 @@
|
|||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
|
# SPDX-License-Identifier: BSD-3-Clause
|
||||||
|
# Copyright (C) 2022 Intel Corporation
|
||||||
|
# All rights reserved.
|
||||||
|
#
|
||||||
|
|
||||||
testdir=$(readlink -f $(dirname $0))
|
testdir=$(readlink -f $(dirname $0))
|
||||||
rootdir=$(readlink -f $testdir/../..)
|
rootdir=$(readlink -f $testdir/../..)
|
||||||
|
@ -1,5 +1,8 @@
|
|||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
|
# SPDX-License-Identifier: BSD-3-Clause
|
||||||
|
# Copyright (C) 2019 Intel Corporation
|
||||||
|
# All rights reserved.
|
||||||
|
#
|
||||||
testdir=$(readlink -f $(dirname $0))
|
testdir=$(readlink -f $(dirname $0))
|
||||||
rootdir=$(readlink -f $testdir/../..)
|
rootdir=$(readlink -f $testdir/../..)
|
||||||
rpc_server=/var/tmp/spdk-raid.sock
|
rpc_server=/var/tmp/spdk-raid.sock
|
||||||
|
@ -1,4 +1,8 @@
|
|||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
|
# SPDX-License-Identifier: BSD-3-Clause
|
||||||
|
# Copyright (C) 2020 Intel Corporation
|
||||||
|
# All rights reserved.
|
||||||
|
#
|
||||||
|
|
||||||
testdir=$(readlink -f $(dirname $0))
|
testdir=$(readlink -f $(dirname $0))
|
||||||
rootdir=$(readlink -f $testdir/../../..)
|
rootdir=$(readlink -f $testdir/../../..)
|
||||||
|
@ -1,5 +1,8 @@
|
|||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
|
# SPDX-License-Identifier: BSD-3-Clause
|
||||||
|
# Copyright (C) 2016 Intel Corporation
|
||||||
|
# All rights reserved.
|
||||||
|
#
|
||||||
testdir=$(readlink -f $(dirname $0))
|
testdir=$(readlink -f $(dirname $0))
|
||||||
rootdir=$(readlink -f $testdir/../..)
|
rootdir=$(readlink -f $testdir/../..)
|
||||||
source $rootdir/test/common/autotest_common.sh
|
source $rootdir/test/common/autotest_common.sh
|
||||||
|
@ -1,3 +1,8 @@
|
|||||||
|
# SPDX-License-Identifier: BSD-3-Clause
|
||||||
|
# Copyright (C) 2017 Intel Corporation
|
||||||
|
# All rights reserved.
|
||||||
|
#
|
||||||
|
|
||||||
set -e
|
set -e
|
||||||
|
|
||||||
function nbd_start_disks() {
|
function nbd_start_disks() {
|
||||||
|
@ -1,5 +1,8 @@
|
|||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
|
# SPDX-License-Identifier: BSD-3-Clause
|
||||||
|
# Copyright (C) 2019 Intel Corporation
|
||||||
|
# All rights reserved.
|
||||||
|
#
|
||||||
SYSTEM=$(uname -s)
|
SYSTEM=$(uname -s)
|
||||||
if [ $SYSTEM = "FreeBSD" ]; then
|
if [ $SYSTEM = "FreeBSD" ]; then
|
||||||
echo "blobfs.sh cannot run on FreeBSD currently."
|
echo "blobfs.sh cannot run on FreeBSD currently."
|
||||||
|
@ -1,5 +1,8 @@
|
|||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
|
# SPDX-License-Identifier: BSD-3-Clause
|
||||||
|
# Copyright (C) 2017 Intel Corporation
|
||||||
|
# All rights reserved.
|
||||||
|
#
|
||||||
testdir=$(readlink -f $(dirname $0))
|
testdir=$(readlink -f $(dirname $0))
|
||||||
rootdir=$(readlink -f $testdir/../../..)
|
rootdir=$(readlink -f $testdir/../../..)
|
||||||
source $rootdir/test/common/autotest_common.sh
|
source $rootdir/test/common/autotest_common.sh
|
||||||
|
@ -1,5 +1,8 @@
|
|||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
|
# SPDX-License-Identifier: BSD-3-Clause
|
||||||
|
# Copyright (C) 2018 Intel Corporation
|
||||||
|
# All rights reserved.
|
||||||
|
#
|
||||||
SYSTEM=$(uname -s)
|
SYSTEM=$(uname -s)
|
||||||
if [ $SYSTEM = "FreeBSD" ]; then
|
if [ $SYSTEM = "FreeBSD" ]; then
|
||||||
echo "blob_io_wait.sh cannot run on FreeBSD currently."
|
echo "blob_io_wait.sh cannot run on FreeBSD currently."
|
||||||
|
@ -1,5 +1,8 @@
|
|||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
|
# SPDX-License-Identifier: BSD-3-Clause
|
||||||
|
# Copyright (C) 2017 Intel Corporation
|
||||||
|
# All rights reserved.
|
||||||
|
#
|
||||||
SYSTEM=$(uname -s)
|
SYSTEM=$(uname -s)
|
||||||
if [ $SYSTEM = "FreeBSD" ]; then
|
if [ $SYSTEM = "FreeBSD" ]; then
|
||||||
echo "blobstore.sh cannot run on FreeBSD currently."
|
echo "blobstore.sh cannot run on FreeBSD currently."
|
||||||
|
@ -1,4 +1,7 @@
|
|||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
|
# SPDX-License-Identifier: BSD-3-Clause
|
||||||
|
# All rights reserved.
|
||||||
|
#
|
||||||
|
|
||||||
SYSTEM=$(uname -s)
|
SYSTEM=$(uname -s)
|
||||||
if [ $SYSTEM = "FreeBSD" ]; then
|
if [ $SYSTEM = "FreeBSD" ]; then
|
||||||
|
@ -1,3 +1,8 @@
|
|||||||
|
# SPDX-License-Identifier: BSD-3-Clause
|
||||||
|
# Copyright (C) 2020 Intel Corporation
|
||||||
|
# All rights reserved.
|
||||||
|
#
|
||||||
|
|
||||||
# Default set of apps used in functional testing
|
# Default set of apps used in functional testing
|
||||||
|
|
||||||
_root=$(readlink -f "$(dirname "${BASH_SOURCE[0]}")")
|
_root=$(readlink -f "$(dirname "${BASH_SOURCE[0]}")")
|
||||||
|
@ -1,5 +1,8 @@
|
|||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
|
# SPDX-License-Identifier: BSD-3-Clause
|
||||||
|
# Copyright (C) 2015 Intel Corporation
|
||||||
|
# All rights reserved.
|
||||||
|
#
|
||||||
rpc_py=rpc_cmd
|
rpc_py=rpc_cmd
|
||||||
|
|
||||||
function xtrace_fd() {
|
function xtrace_fd() {
|
||||||
|
@ -1,5 +1,8 @@
|
|||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
|
# SPDX-License-Identifier: BSD-3-Clause
|
||||||
|
# Copyright (C) 2017 Intel Corporation
|
||||||
|
# All rights reserved.
|
||||||
|
#
|
||||||
# Virtual Machine environment requirements:
|
# Virtual Machine environment requirements:
|
||||||
# 8 GiB of RAM (for DPDK)
|
# 8 GiB of RAM (for DPDK)
|
||||||
# enable intel_kvm on your host machine
|
# enable intel_kvm on your host machine
|
||||||
|
@ -1,5 +1,8 @@
|
|||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
|
# SPDX-License-Identifier: BSD-3-Clause
|
||||||
|
# Copyright (C) 2019 Intel Corporation
|
||||||
|
# All rights reserved.
|
||||||
|
#
|
||||||
set -e
|
set -e
|
||||||
|
|
||||||
testdir=$(readlink -f $(dirname $0))
|
testdir=$(readlink -f $(dirname $0))
|
||||||
|
@ -1,4 +1,8 @@
|
|||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
|
# SPDX-License-Identifier: BSD-3-Clause
|
||||||
|
# Copyright (C) 2020 Intel Corporation
|
||||||
|
# All rights reserved.
|
||||||
|
#
|
||||||
testdir=$(readlink -f "$(dirname "$0")")
|
testdir=$(readlink -f "$(dirname "$0")")
|
||||||
rootdir=$(readlink -f "$testdir/../../")
|
rootdir=$(readlink -f "$testdir/../../")
|
||||||
source "$testdir/common.sh"
|
source "$testdir/common.sh"
|
||||||
|
@ -1,4 +1,8 @@
|
|||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
|
# SPDX-License-Identifier: BSD-3-Clause
|
||||||
|
# Copyright (C) 2020 Intel Corporation
|
||||||
|
# All rights reserved.
|
||||||
|
#
|
||||||
testdir=$(readlink -f "$(dirname "$0")")
|
testdir=$(readlink -f "$(dirname "$0")")
|
||||||
rootdir=$(readlink -f "$testdir/../../")
|
rootdir=$(readlink -f "$testdir/../../")
|
||||||
source "$testdir/common.sh"
|
source "$testdir/common.sh"
|
||||||
|
@ -1,3 +1,8 @@
|
|||||||
|
# SPDX-License-Identifier: BSD-3-Clause
|
||||||
|
# Copyright (C) 2020 Intel Corporation
|
||||||
|
# All rights reserved.
|
||||||
|
#
|
||||||
|
|
||||||
source "$rootdir/test/common/autotest_common.sh"
|
source "$rootdir/test/common/autotest_common.sh"
|
||||||
source "$rootdir/scripts/common.sh"
|
source "$rootdir/scripts/common.sh"
|
||||||
|
|
||||||
|
@ -1,4 +1,8 @@
|
|||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
|
# SPDX-License-Identifier: BSD-3-Clause
|
||||||
|
# Copyright (C) 2020 Intel Corporation
|
||||||
|
# All rights reserved.
|
||||||
|
#
|
||||||
testdir=$(readlink -f "$(dirname "$0")")
|
testdir=$(readlink -f "$(dirname "$0")")
|
||||||
rootdir=$(readlink -f "$testdir/../../")
|
rootdir=$(readlink -f "$testdir/../../")
|
||||||
source "$testdir/common.sh"
|
source "$testdir/common.sh"
|
||||||
|
@ -1,4 +1,9 @@
|
|||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
|
# SPDX-License-Identifier: BSD-3-Clause
|
||||||
|
# Copyright (C) 2021 Intel Corporation
|
||||||
|
# All rights reserved.
|
||||||
|
#
|
||||||
|
|
||||||
testdir=$(readlink -f "$(dirname "$0")")
|
testdir=$(readlink -f "$(dirname "$0")")
|
||||||
rootdir=$(readlink -f "$testdir/../../")
|
rootdir=$(readlink -f "$testdir/../../")
|
||||||
source "$testdir/common.sh"
|
source "$testdir/common.sh"
|
||||||
|
@ -1,4 +1,8 @@
|
|||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
|
# SPDX-License-Identifier: BSD-3-Clause
|
||||||
|
# Copyright (C) 2020 Intel Corporation
|
||||||
|
# All rights reserved.
|
||||||
|
#
|
||||||
testdir=$(readlink -f "$(dirname "$0")")
|
testdir=$(readlink -f "$(dirname "$0")")
|
||||||
rootdir=$(readlink -f "$testdir/../../")
|
rootdir=$(readlink -f "$testdir/../../")
|
||||||
source "$testdir/common.sh"
|
source "$testdir/common.sh"
|
||||||
|
@ -1,4 +1,8 @@
|
|||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
|
# SPDX-License-Identifier: BSD-3-Clause
|
||||||
|
# All rights reserved.
|
||||||
|
#
|
||||||
|
|
||||||
testdir=$(readlink -f "$(dirname "$0")")
|
testdir=$(readlink -f "$(dirname "$0")")
|
||||||
rootdir=$(readlink -f "$testdir/../../")
|
rootdir=$(readlink -f "$testdir/../../")
|
||||||
source "$testdir/common.sh"
|
source "$testdir/common.sh"
|
||||||
|
@ -1,4 +1,9 @@
|
|||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
|
# SPDX-License-Identifier: BSD-3-Clause
|
||||||
|
# Copyright (C) 2021 Intel Corporation
|
||||||
|
# All rights reserved.
|
||||||
|
#
|
||||||
|
|
||||||
testdir=$(readlink -f "$(dirname "$0")")
|
testdir=$(readlink -f "$(dirname "$0")")
|
||||||
rootdir=$(readlink -f "$testdir/../../")
|
rootdir=$(readlink -f "$testdir/../../")
|
||||||
source "$testdir/common.sh"
|
source "$testdir/common.sh"
|
||||||
|
@ -1,5 +1,8 @@
|
|||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
|
# SPDX-License-Identifier: BSD-3-Clause
|
||||||
|
# Copyright (C) 2019 Intel Corporation
|
||||||
|
# All rights reserved.
|
||||||
|
#
|
||||||
testdir=$(readlink -f $(dirname $0))
|
testdir=$(readlink -f $(dirname $0))
|
||||||
rootdir=$(readlink -f $testdir/../..)
|
rootdir=$(readlink -f $testdir/../..)
|
||||||
source $rootdir/test/common/autotest_common.sh
|
source $rootdir/test/common/autotest_common.sh
|
||||||
|
5
test/env/env.sh
vendored
5
test/env/env.sh
vendored
@ -1,5 +1,8 @@
|
|||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
|
# SPDX-License-Identifier: BSD-3-Clause
|
||||||
|
# Copyright (C) 2018 Intel Corporation
|
||||||
|
# All rights reserved.
|
||||||
|
#
|
||||||
testdir=$(readlink -f $(dirname $0))
|
testdir=$(readlink -f $(dirname $0))
|
||||||
rootdir=$(readlink -f $testdir/../..)
|
rootdir=$(readlink -f $testdir/../..)
|
||||||
source $rootdir/test/common/autotest_common.sh
|
source $rootdir/test/common/autotest_common.sh
|
||||||
|
@ -1,5 +1,8 @@
|
|||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
|
# SPDX-License-Identifier: BSD-3-Clause
|
||||||
|
# Copyright (C) 2018 Intel Corporation
|
||||||
|
# All rights reserved.
|
||||||
|
#
|
||||||
testdir=$(readlink -f $(dirname $0))
|
testdir=$(readlink -f $(dirname $0))
|
||||||
rootdir=$(readlink -f $testdir/../..)
|
rootdir=$(readlink -f $testdir/../..)
|
||||||
source $rootdir/test/common/autotest_common.sh
|
source $rootdir/test/common/autotest_common.sh
|
||||||
|
@ -1,4 +1,8 @@
|
|||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
|
# SPDX-License-Identifier: BSD-3-Clause
|
||||||
|
# Copyright (C) 2021 Intel Corporation
|
||||||
|
# All rights reserved.
|
||||||
|
#
|
||||||
|
|
||||||
testdir=$(readlink -f $(dirname $0))
|
testdir=$(readlink -f $(dirname $0))
|
||||||
rootdir=$(readlink -f $testdir/../../..)
|
rootdir=$(readlink -f $testdir/../../..)
|
||||||
|
@ -1,4 +1,8 @@
|
|||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
|
# SPDX-License-Identifier: BSD-3-Clause
|
||||||
|
# Copyright (C) 2021 Intel Corporation
|
||||||
|
# All rights reserved.
|
||||||
|
#
|
||||||
|
|
||||||
testdir=$(readlink -f $(dirname $0))
|
testdir=$(readlink -f $(dirname $0))
|
||||||
rootdir=$testdir/../../..
|
rootdir=$testdir/../../..
|
||||||
|
@ -1,5 +1,8 @@
|
|||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
|
# SPDX-License-Identifier: BSD-3-Clause
|
||||||
|
# Copyright (C) 2020 Intel Corporation
|
||||||
|
# All rights reserved.
|
||||||
|
#
|
||||||
test_root=$(readlink -f $(dirname $0))
|
test_root=$(readlink -f $(dirname $0))
|
||||||
rootdir="$test_root/../.."
|
rootdir="$test_root/../.."
|
||||||
|
|
||||||
|
@ -1,5 +1,8 @@
|
|||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
|
# SPDX-License-Identifier: BSD-3-Clause
|
||||||
|
# Copyright (C) 2019 Intel Corporation
|
||||||
|
# All rights reserved.
|
||||||
|
#
|
||||||
testdir=$(readlink -f $(dirname $0))
|
testdir=$(readlink -f $(dirname $0))
|
||||||
rootdir=$(readlink -f $testdir/../..)
|
rootdir=$(readlink -f $testdir/../..)
|
||||||
source $rootdir/test/common/autotest_common.sh
|
source $rootdir/test/common/autotest_common.sh
|
||||||
|
@ -1,3 +1,8 @@
|
|||||||
|
# SPDX-License-Identifier: BSD-3-Clause
|
||||||
|
# Copyright (C) 2019 Intel Corporation
|
||||||
|
# All rights reserved.
|
||||||
|
#
|
||||||
|
|
||||||
# Common utility functions to be sourced by the libftl test scripts
|
# Common utility functions to be sourced by the libftl test scripts
|
||||||
|
|
||||||
function clear_lvols() {
|
function clear_lvols() {
|
||||||
|
@ -1,5 +1,8 @@
|
|||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
|
# SPDX-License-Identifier: BSD-3-Clause
|
||||||
|
# Copyright (C) 2019 Intel Corporation
|
||||||
|
# All rights reserved.
|
||||||
|
#
|
||||||
testdir=$(readlink -f $(dirname $0))
|
testdir=$(readlink -f $(dirname $0))
|
||||||
rootdir=$(readlink -f $testdir/../..)
|
rootdir=$(readlink -f $testdir/../..)
|
||||||
source $rootdir/test/common/autotest_common.sh
|
source $rootdir/test/common/autotest_common.sh
|
||||||
|
@ -1,5 +1,8 @@
|
|||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
|
# SPDX-License-Identifier: BSD-3-Clause
|
||||||
|
# Copyright (C) 2018 Intel Corporation
|
||||||
|
# All rights reserved.
|
||||||
|
#
|
||||||
testdir=$(readlink -f $(dirname $0))
|
testdir=$(readlink -f $(dirname $0))
|
||||||
rootdir=$(readlink -f $testdir/../..)
|
rootdir=$(readlink -f $testdir/../..)
|
||||||
source $rootdir/test/common/autotest_common.sh
|
source $rootdir/test/common/autotest_common.sh
|
||||||
|
@ -1,5 +1,8 @@
|
|||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
|
# SPDX-License-Identifier: BSD-3-Clause
|
||||||
|
# Copyright (C) 2018 Intel Corporation
|
||||||
|
# All rights reserved.
|
||||||
|
#
|
||||||
testdir=$(readlink -f $(dirname $0))
|
testdir=$(readlink -f $(dirname $0))
|
||||||
rootdir=$(readlink -f $testdir/../..)
|
rootdir=$(readlink -f $testdir/../..)
|
||||||
source $rootdir/test/common/autotest_common.sh
|
source $rootdir/test/common/autotest_common.sh
|
||||||
|
@ -1,5 +1,8 @@
|
|||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
|
# SPDX-License-Identifier: BSD-3-Clause
|
||||||
|
# Copyright (C) 2018 Intel Corporation
|
||||||
|
# All rights reserved.
|
||||||
|
#
|
||||||
testdir=$(readlink -f $(dirname $0))
|
testdir=$(readlink -f $(dirname $0))
|
||||||
rootdir=$(readlink -f $testdir/../..)
|
rootdir=$(readlink -f $testdir/../..)
|
||||||
source $rootdir/test/common/autotest_common.sh
|
source $rootdir/test/common/autotest_common.sh
|
||||||
|
@ -1,4 +1,8 @@
|
|||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
|
# SPDX-License-Identifier: BSD-3-Clause
|
||||||
|
# Copyright (C) 2022 Intel Corporation
|
||||||
|
# All rights reserved.
|
||||||
|
#
|
||||||
|
|
||||||
testdir=$(readlink -f $(dirname $0))
|
testdir=$(readlink -f $(dirname $0))
|
||||||
rootdir=$(readlink -f $testdir/../..)
|
rootdir=$(readlink -f $testdir/../..)
|
||||||
|
@ -1,4 +1,8 @@
|
|||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
|
# SPDX-License-Identifier: BSD-3-Clause
|
||||||
|
# Copyright (C) 2022 Intel Corporation
|
||||||
|
# All rights reserved.
|
||||||
|
#
|
||||||
|
|
||||||
testdir=$(readlink -f $(dirname $0))
|
testdir=$(readlink -f $(dirname $0))
|
||||||
rootdir=$(readlink -f $testdir/../..)
|
rootdir=$(readlink -f $testdir/../..)
|
||||||
|
@ -1,5 +1,8 @@
|
|||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
|
# SPDX-License-Identifier: BSD-3-Clause
|
||||||
|
# Copyright (C) 2019 Intel Corporation
|
||||||
|
# All rights reserved.
|
||||||
|
#
|
||||||
testdir=$(readlink -f $(dirname $0))
|
testdir=$(readlink -f $(dirname $0))
|
||||||
rootdir=$(readlink -f $testdir/../..)
|
rootdir=$(readlink -f $testdir/../..)
|
||||||
|
|
||||||
|
@ -1,5 +1,8 @@
|
|||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
|
# SPDX-License-Identifier: BSD-3-Clause
|
||||||
|
# Copyright (C) 2020 Intel Corporation
|
||||||
|
# All rights reserved.
|
||||||
|
#
|
||||||
testdir=$(readlink -f $(dirname $0))
|
testdir=$(readlink -f $(dirname $0))
|
||||||
rootdir=$(readlink -f $testdir/../..)
|
rootdir=$(readlink -f $testdir/../..)
|
||||||
source $rootdir/test/common/autotest_common.sh
|
source $rootdir/test/common/autotest_common.sh
|
||||||
|
@ -1,5 +1,8 @@
|
|||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
|
# SPDX-License-Identifier: BSD-3-Clause
|
||||||
|
# Copyright (C) 2019 Intel Corporation
|
||||||
|
# All rights reserved.
|
||||||
|
#
|
||||||
testdir=$(readlink -f $(dirname $0))
|
testdir=$(readlink -f $(dirname $0))
|
||||||
rootdir=$(readlink -f $testdir/../..)
|
rootdir=$(readlink -f $testdir/../..)
|
||||||
source $rootdir/test/common/autotest_common.sh
|
source $rootdir/test/common/autotest_common.sh
|
||||||
|
@ -1,5 +1,8 @@
|
|||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
|
# SPDX-License-Identifier: BSD-3-Clause
|
||||||
|
# Copyright (C) 2019 Intel Corporation
|
||||||
|
# All rights reserved.
|
||||||
|
#
|
||||||
rootdir=$(readlink -f $(dirname $0))/../..
|
rootdir=$(readlink -f $(dirname $0))/../..
|
||||||
source $rootdir/test/common/autotest_common.sh
|
source $rootdir/test/common/autotest_common.sh
|
||||||
source "$rootdir/scripts/common.sh"
|
source "$rootdir/scripts/common.sh"
|
||||||
|
@ -1,4 +1,8 @@
|
|||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
|
# SPDX-License-Identifier: BSD-3-Clause
|
||||||
|
# Copyright (C) 2022 Intel Corporation
|
||||||
|
# All rights reserved.
|
||||||
|
#
|
||||||
testdir=$(readlink -f "$(dirname "$0")")
|
testdir=$(readlink -f "$(dirname "$0")")
|
||||||
rootdir=$(readlink -f "$testdir/../../")
|
rootdir=$(readlink -f "$testdir/../../")
|
||||||
|
|
||||||
|
@ -1,5 +1,8 @@
|
|||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
|
# SPDX-License-Identifier: BSD-3-Clause
|
||||||
|
# Copyright (C) 2021 Intel Corporation
|
||||||
|
# All rights reserved.
|
||||||
|
#
|
||||||
if [[ $SPDK_TEST_FUZZER_SHORT -eq 0 ]]; then
|
if [[ $SPDK_TEST_FUZZER_SHORT -eq 0 ]]; then
|
||||||
TIME=60000
|
TIME=60000
|
||||||
else
|
else
|
||||||
|
@ -1,4 +1,8 @@
|
|||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
|
# SPDX-License-Identifier: BSD-3-Clause
|
||||||
|
# Copyright (C) 2022 Intel Corporation
|
||||||
|
# All rights reserved.
|
||||||
|
#
|
||||||
if [[ $SPDK_TEST_FUZZER_SHORT -eq 0 ]]; then
|
if [[ $SPDK_TEST_FUZZER_SHORT -eq 0 ]]; then
|
||||||
TIME=60000
|
TIME=60000
|
||||||
else
|
else
|
||||||
|
@ -1,5 +1,8 @@
|
|||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
|
# SPDX-License-Identifier: BSD-3-Clause
|
||||||
|
# Copyright (C) 2021 Intel Corporation
|
||||||
|
# All rights reserved.
|
||||||
|
#
|
||||||
testdir=$(readlink -f $(dirname $0))
|
testdir=$(readlink -f $(dirname $0))
|
||||||
rootdir=$(readlink -f $testdir/../..)
|
rootdir=$(readlink -f $testdir/../..)
|
||||||
source $rootdir/test/common/autotest_common.sh
|
source $rootdir/test/common/autotest_common.sh
|
||||||
|
@ -1,5 +1,8 @@
|
|||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
|
# SPDX-License-Identifier: BSD-3-Clause
|
||||||
|
# Copyright (C) 2021 Intel Corporation
|
||||||
|
# All rights reserved.
|
||||||
|
#
|
||||||
testdir=$(readlink -f $(dirname $0))
|
testdir=$(readlink -f $(dirname $0))
|
||||||
rootdir=$(readlink -f $testdir/../..)
|
rootdir=$(readlink -f $testdir/../..)
|
||||||
source $rootdir/test/common/autotest_common.sh
|
source $rootdir/test/common/autotest_common.sh
|
||||||
|
@ -1,5 +1,8 @@
|
|||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
|
# SPDX-License-Identifier: BSD-3-Clause
|
||||||
|
# Copyright (C) 2015 Intel Corporation
|
||||||
|
# All rights reserved.
|
||||||
|
#
|
||||||
testdir=$(readlink -f $(dirname $0))
|
testdir=$(readlink -f $(dirname $0))
|
||||||
rootdir=$(readlink -f $testdir/../..)
|
rootdir=$(readlink -f $testdir/../..)
|
||||||
source $rootdir/test/common/autotest_common.sh
|
source $rootdir/test/common/autotest_common.sh
|
||||||
|
@ -1,5 +1,8 @@
|
|||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
|
# SPDX-License-Identifier: BSD-3-Clause
|
||||||
|
# Copyright (C) 2018 Intel Corporation
|
||||||
|
# All rights reserved.
|
||||||
|
#
|
||||||
testdir=$(readlink -f $(dirname $0))
|
testdir=$(readlink -f $(dirname $0))
|
||||||
rootdir=$(readlink -f $testdir/../../..)
|
rootdir=$(readlink -f $testdir/../../..)
|
||||||
source $rootdir/test/common/autotest_common.sh
|
source $rootdir/test/common/autotest_common.sh
|
||||||
|
@ -1,4 +1,8 @@
|
|||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
|
# SPDX-License-Identifier: BSD-3-Clause
|
||||||
|
# Copyright (C) 2016 Intel Corporation
|
||||||
|
# All rights reserved.
|
||||||
|
#
|
||||||
testdir=$(readlink -f $(dirname $0))
|
testdir=$(readlink -f $(dirname $0))
|
||||||
rootdir=$(readlink -f $testdir/../../..)
|
rootdir=$(readlink -f $testdir/../../..)
|
||||||
source $rootdir/test/common/autotest_common.sh
|
source $rootdir/test/common/autotest_common.sh
|
||||||
|
@ -1,3 +1,8 @@
|
|||||||
|
# SPDX-License-Identifier: BSD-3-Clause
|
||||||
|
# Copyright (C) 2017 Intel Corporation
|
||||||
|
# All rights reserved.
|
||||||
|
#
|
||||||
|
|
||||||
# Network configuration
|
# Network configuration
|
||||||
# There is one initiator interface and it is accessed directly.
|
# There is one initiator interface and it is accessed directly.
|
||||||
# There are two target interfaces and they are accessed through an namespace.
|
# There are two target interfaces and they are accessed through an namespace.
|
||||||
|
@ -1,5 +1,8 @@
|
|||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
|
# SPDX-License-Identifier: BSD-3-Clause
|
||||||
|
# Copyright (C) 2018 Intel Corporation
|
||||||
|
# All rights reserved.
|
||||||
|
#
|
||||||
testdir=$(readlink -f $(dirname $0))
|
testdir=$(readlink -f $(dirname $0))
|
||||||
rootdir=$(readlink -f $testdir/../../..)
|
rootdir=$(readlink -f $testdir/../../..)
|
||||||
source $rootdir/test/common/autotest_common.sh
|
source $rootdir/test/common/autotest_common.sh
|
||||||
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue
Block a user