xref: /third_party/ltp/testscripts/lvmtest.sh
  • Home
  • History
  • Annotate Annotate
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
  • only in /third_party/ltp/testscripts/
1f08c3bdfSopenharmony_ci#!/bin/sh
2f08c3bdfSopenharmony_ci# SPDX-License-Identifier: GPL-2.0-or-later
3f08c3bdfSopenharmony_ci# Copyright (c) 2020 SUSE LLC <mdoucha@suse.cz>
4f08c3bdfSopenharmony_ci#
5f08c3bdfSopenharmony_ci# Run the new LVM testsuite, including initialization and cleanup.
6f08c3bdfSopenharmony_ci
7f08c3bdfSopenharmony_cicd $(dirname $0)
8f08c3bdfSopenharmony_ciexport LTPROOT=${LTPROOT:-"$PWD"}
9f08c3bdfSopenharmony_ciecho $LTPROOT | grep -q testscripts
10f08c3bdfSopenharmony_ciif [ $? -eq 0 ]; then
11f08c3bdfSopenharmony_ci	cd ..
12f08c3bdfSopenharmony_ci	export LTPROOT=${PWD}
13f08c3bdfSopenharmony_cifi
14f08c3bdfSopenharmony_ci
15f08c3bdfSopenharmony_ciexport PATH="${PATH}:${LTPROOT}:${LTPROOT}/bin:${LTPROOT}/testcases/bin"
16f08c3bdfSopenharmony_ci
17f08c3bdfSopenharmony_cigenerate_lvm_runfile.sh && prepare_lvm.sh && runltp -f lvm.local
18f08c3bdfSopenharmony_cicleanup_lvm.sh
19

Indexes created Thu Nov 07 10:32:03 CST 2024