Skip to content

Commit

Permalink
Update caproto startup and testing scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
mrakitin committed Feb 18, 2024
1 parent a179b09 commit 66df054
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
8 changes: 6 additions & 2 deletions scripts/run-caproto-ioc.sh
Original file line number Diff line number Diff line change
@@ -1,9 +1,13 @@
#!/bin/bash

set -vxeuo pipefail

# shellcheck source=/dev/null
. /etc/profile.d/epics.sh
if [ -f "/etc/profile.d/epics.sh" ]; then
. /etc/profile.d/epics.sh
fi

export EPICS_CAS_AUTO_BEACON_ADDR_LIST="no"
export EPICS_CAS_BEACON_ADDR_LIST="${EPICS_CA_ADDR_LIST}"
export EPICS_CAS_BEACON_ADDR_LIST="${EPICS_CA_ADDR_LIST:-127.0.0.255}"

python -m srx_caproto_iocs.base --prefix="BASE:{{Dev:Save1}}:" --list-pvs
2 changes: 1 addition & 1 deletion scripts/test-file-saving.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/bin/bash

set -vxeuo pipefail
set -euo pipefail

# shellcheck source=/dev/null
if [ -f "/etc/profile.d/epics.sh" ]; then
Expand Down

0 comments on commit 66df054

Please sign in to comment.