mirror of
https://github.com/crystalidea/qt6windows7.git
synced 2024-11-27 06:28:26 +08:00
20 lines
448 B
Bash
20 lines
448 B
Bash
#!/usr/bin/env bash
|
|
# Copyright (C) 2018 The Qt Company Ltd.
|
|
# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only
|
|
|
|
set -ex
|
|
|
|
# export variables
|
|
export USER=qt-test-server
|
|
export PASS=password
|
|
export CONFIG=service/testdata
|
|
export TESTDATA=service/testdata
|
|
|
|
# add users
|
|
useradd -m -s /bin/bash $USER; echo "$USER:$PASS" | chpasswd
|
|
|
|
# install configurations and test data
|
|
su $USER -c "cp $CONFIG/system/passwords ~/"
|
|
|
|
./startup.sh "$@"
|