Skip to content

Commit

Permalink
Merge pull request #6 from vub-hpc/job_container
Browse files Browse the repository at this point in the history
replace check on /var/spool with /local for Slurm 23 with job_container/tmpfs
  • Loading branch information
wpoely86 authored Oct 17, 2023
2 parents a3ef6dd + 967872d commit 1fbb65d
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
2 changes: 1 addition & 1 deletion lbnl-nhc.spec.in
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
%global name @PACKAGE@
%global version @VERSION@
%global release %{rel}%{?dist}.bx.1
%global release %{rel}%{?dist}.bx.2

### Macros to populate RPM %{RELEASE} field with useful info
# {gitrelease} holds the ./configure-generated version of the same
Expand Down
2 changes: 1 addition & 1 deletion nhc.conf
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@
# Assert that /tmp is a mounted filesystem of type "tmpfs."
* || check_fs_mount_rw -t $NHC_TMP_FS -f /tmp
* || check_fs_mount_rw -t $NHC_VAR_FS -f /var
* || check_fs_mount_rw -t $NHC_VAR_SPOOL_FS -f /var/spool
* || check_fs_mount_rw -t $NHC_LOCAL_SCRATCH_FS -f /local
* || check_fs_mount_rw -t tmpfs -f /dev/shm

# Controlling TTYs are a good thing!
Expand Down
5 changes: 4 additions & 1 deletion test/test_zzz_bash_sanity.nhc
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,10 @@ plan $((3+2+2)) "bash variable sanity check" && {
is $BASHPID $$ "BASH built-in variable \$BASHPID"
isnt $L $LINENO "BASH built-in variable \$LINENO"

for VAR in BASH_REMATCH BASH_VERSINFO ; do
for VAR in BASH_REMATCH; do
like "$(declare -p $VAR 2>/dev/null)" 'declare -a *' "BASH built-in variable \$$VAR"
done
for VAR in BASH_VERSINFO; do
like "$(declare -p $VAR 2>/dev/null)" 'declare -ar *' "BASH built-in variable \$$VAR"
done

Expand Down

0 comments on commit 1fbb65d

Please sign in to comment.