Skip to content

Commit

Permalink
Fix test-module.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
DavidePrincipi committed Jan 9, 2025
1 parent 7896b28 commit 042c4df
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions test-module.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/bin/bash

#
# Copyright (C) 2023 Nethesis S.r.l.
# Copyright (C) 2024 Nethesis S.r.l.
# SPDX-License-Identifier: GPL-3.0-or-later
#

Expand Down Expand Up @@ -31,8 +31,8 @@ cleanup() {
trap cleanup EXIT
podman run -i \
--network=host \
-v .:/home/pwuser/ns8-module:z \
--volume=site-packages:/home/pwuser/.local/lib/python3.8/site-packages:Z \
--volume=.:/home/pwuser/ns8-module:z \
--volume=site-packages:/home/pwuser/.local/lib/python3.12/site-packages:z \
--name rf-core-runner ghcr.io/marketsquare/robotframework-browser/rfbrowser-stable:19.1.2 \
bash -l -s <<EOF
set -e
Expand All @@ -43,7 +43,7 @@ cd /home/pwuser/ns8-module
exec robot -v NODE_ADDR:${LEADER_NODE} \
-v IMAGE_URL:${IMAGE_URL} \
-v SSH_KEYFILE:/home/pwuser/ns8-key \
--name netdata \
--name "$(basename $PWD)" \
--skiponfailure unstable \
-d ~/outputs ${@} /home/pwuser/ns8-module/tests/
EOF
2 changes: 1 addition & 1 deletion tests/api.resource
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,4 @@ Run task
ELSE
${response} = Set Variable ${stdout}
END
[Return] ${response}
RETURN ${response}

0 comments on commit 042c4df

Please sign in to comment.