Skip to content

Commit

Permalink
fix test - 4 (comps)
Browse files Browse the repository at this point in the history
  • Loading branch information
ric-evans committed Nov 21, 2024
1 parent a6943eb commit dc01674
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/wipac-cicd.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -287,15 +287,15 @@ jobs:
echo "Oldest histo file modtime: $oldest_modtime"
case "${{ matrix.prev_histos_setting }}" in
none)
# oldest modtime should be younger than previously-stored value
if [[ ! $oldest_modtime -lt $OLD_FILE_MODTIME ]]; then
# oldest modtime should be younger (greater) than previously-stored value
if [[ $oldest_modtime -le $OLD_FILE_MODTIME ]]; then
echo "ERROR: there is an older file in here!" >&2
exit 1
fi
;;
overwrite)
# oldest modtime should be younger than previously-stored value
if [[ ! $oldest_modtime -lt $OLD_FILE_MODTIME ]]; then
# oldest modtime should be younger (greater) than previously-stored value
if [[ $oldest_modtime -le $OLD_FILE_MODTIME ]]; then
echo "ERROR: there is an older file in here! aka script didn't overwrite" >&2
exit 1
fi
Expand Down

0 comments on commit dc01674

Please sign in to comment.