Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update script to match current xfstests layout #145

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 3 additions & 7 deletions code/tests/ace-base/base_xfstest.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
#!/bin/bash
# SPDX-License-Identifier: GPL-2.0
# Copyright (c) $CURRENT_YEAR The University of Texas at Austin. All Rights Reserved.
# Copyright (c) $CURRENT_YEAR Elektrobit Automotive GmbH. All rights reserved.
#
# FS QA Test $TEST_NUMBER
#
Expand All @@ -9,13 +10,9 @@
# Test if we create a hard link to a file and persist either of the files, all
# the names persist.
#
seq=`basename $0`
seqres=$RESULT_DIR/$seq
echo "QA output created by $seq"
. ./common/preamble
_begin_fstest auto ace

here=`pwd`
tmp=/tmp/$$
status=1 # failure is the default!
trap "_cleanup; exit \$status" 0 1 2 3 15

_cleanup()
Expand All @@ -38,7 +35,6 @@ rm -f $seqres.full

# real QA test starts here
_supported_fs $FILESYSTEM_TYPE
_supported_os Linux
_require_scratch_nocheck
_require_dm_target flakey

Expand Down
10 changes: 3 additions & 7 deletions code/tests/ace-base/base_xfstest_concise.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
#!/bin/bash
# SPDX-License-Identifier: GPL-2.0
# Copyright (c) $CURRENT_YEAR The University of Texas at Austin. All Rights Reserved.
# Copyright (c) $CURRENT_YEAR Elektrobit Automotive GmbH. All rights reserved.
#
# FS QA Test $TEST_NUMBER
#
Expand All @@ -9,13 +10,9 @@
# Test if we create a hard link to a file and persist either of the files, all
# the names persist.
#
seq=`basename $0`
seqres=$RESULT_DIR/$seq
echo "QA output created by $seq"
. ./common/preamble
_begin_fstest auto ace

here=`pwd`
tmp=/tmp/$$
status=1 # failure is the default!
trap "_cleanup; exit \$status" 0 1 2 3 15

_cleanup()
Expand All @@ -38,7 +35,6 @@ rm -f $seqres.full

# real QA test starts here
_supported_fs $FILESYSTEM_TYPE
_supported_os Linux
_require_scratch_nocheck
_require_dm_target flakey

Expand Down