Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
A
apparmor-tumbler
Manage
Activity
Members
Labels
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
tests
apparmor-tumbler
Commits
a3b6bee6
Commit
a3b6bee6
authored
5 years ago
by
Denis Pynkin
Browse files
Options
Downloads
Plain Diff
Merge branch 'wip/d4s/subtree_update' into 'apertis/v2020dev0'
Update common subtree See merge request
!3
parents
94a4bcfa
d2dc3629
Branches
apertis/v2021
No related tags found
1 merge request
!3
Update common subtree
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
common/common-subtree.sh
+5
-2
5 additions, 2 deletions
common/common-subtree.sh
common/run-aa-test
+8
-1
8 additions, 1 deletion
common/run-aa-test
with
13 additions
and
3 deletions
common/common-subtree.sh
+
5
−
2
View file @
a3b6bee6
...
...
@@ -7,12 +7,15 @@ usage () {
echo
"'
$0
pull' is used to update the common subtree in tests"
}
branch
=
"
$(
git symbolic-ref
--short
HEAD
)
"
test
-z
"
$branch
"
&&
branch
=
"master"
case
$1
in
pull
)
git subtree pull
-P
common git@gitlab.apertis.org:tests/common.git
master
git subtree pull
-P
common git@gitlab.apertis.org:tests/common.git
"
$branch
"
;;
add
)
git subtree add
-P
common git@gitlab.apertis.org:tests/common.git
master
git subtree add
-P
common git@gitlab.apertis.org:tests/common.git
"
$branch
"
;;
*
)
usage
;;
esac
This diff is collapsed.
Click to expand it.
common/run-aa-test
+
8
−
1
View file @
a3b6bee6
...
...
@@ -124,7 +124,14 @@ sleep 3
# Get audit information from journal
AUDIT_FILE
=
${
TMP_DIR
}
/AUDIT
journalctl
-S
"
${
START_TIME
}
"
-t
audit
-o
cat
>
${
AUDIT_FILE
}
uid
=
$(
id
-u
)
JOURNALCTL
=
"journalctl"
if
[
"
${
UID
}
"
!=
"0"
]
then
JOURNALCTL
=
"sudo journalctl"
fi
${
JOURNALCTL
}
-S
"
${
START_TIME
}
"
-t
audit
-o
cat
>
${
AUDIT_FILE
}
echo
"#===
${
TEST_TITLE
}
==="
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment