Skip to content

Commit 1b36402

Browse files
authored
Merge pull request #7024 from ic-hep/cmdrccrttst
[integration] new: added script for comdirac to be run during certification tests
2 parents bb78d62 + 4be6e6e commit 1b36402

File tree

1 file changed

+25
-0
lines changed

1 file changed

+25
-0
lines changed
Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
#!/bin/bash
2+
3+
# write a config file for dteam user
4+
export DCOMMANDS_CONFIG_DIR=${TMPDIR}
5+
6+
CONFFILE="${DCOMMANDS_CONFIG_DIR}/dcommands.conf"
7+
cat > "${CONFFILE}" <<EOF
8+
[global]
9+
default_profile = dteam_user
10+
11+
[dteam_user]
12+
group_name = dteam_user
13+
home_dir = /dteam/diracCertification
14+
default_se = UKI-LT2-IC-HEP-disk
15+
16+
EOF
17+
18+
echo "(1) Testing the dpwd command: Show current dir (in file catalog)"
19+
dpwd
20+
echo $'\n'"(2) Testing dls command: List home dir (in file catalog)"
21+
dls
22+
echo $'\n'"(3) Show shorthand commands settings"
23+
dgetenv
24+
25+
echo $'\n'"This script has finished."

0 commit comments

Comments
 (0)