We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents bb78d62 + 4be6e6e commit 1b36402Copy full SHA for 1b36402
tests/System/client_shortcommands.sh
@@ -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