...
  View open merge request
Commits (1)
......@@ -26,9 +26,14 @@ before_script:
- git fetch origin "$CI_COMMIT_SHA"
- git reset --hard FETCH_HEAD
# Create buildstream user for tests that should not run as root
- useradd -U buildstream
# Run integration tests
#
integration_tests:
script:
- su buildstream
- whoami
- 'dnf install -y findutils bzr which'
- './run-test.sh --arg --colors test'
......@@ -147,6 +147,7 @@ clean () {
if [ -d "$dir" ]
then
(cd "$dir" || exit 1
find . -type d -exec chmod 755 {} \;
rm -rf "results/"*)
fi
done
......
kind: import
description: Import shell
sources:
- kind: tar
url: file://read_only_nested.tar
base-dir: ''
ref: cf14c6862c351986a3983f98372e0aba66c3507658b7ad4d282889e30d22469c
kind: import
description: Import shell
sources:
- kind: tar
url: file:///home/tristanmaat/Documents/Projects/buildstream-tests/tar-test/read_only.tar
base-dir: ''
ref: d86d0c9a4a7d2b122d8c495bd610edfffaccf8b8906f41dfa5cbb7c9caf08155
......@@ -36,6 +36,16 @@ run_test () {
patch_file_location "$bst_file" "$tar_file"
tar_file="$(dirname "$(readlink -f "$0")")/read_only.tar"
bst_file="$(dirname "$(readlink -f "$0")")/elements/read-only.bst"
patch_file_location "$bst_file" "$tar_file"
tar_file="$(dirname "$(readlink -f "$0")")/read_only_nested.tar"
bst_file="$(dirname "$(readlink -f "$0")")/elements/read-only-nested.bst"
patch_file_location "$bst_file" "$tar_file"
mkdir -p "$TEST_DIR"
elements="$(find "$TEST_DIR" -maxdepth 1 -type f)"
......