Project

General

Profile

Tâche #12876

eole-ejabberd - Scénario #12860: Revoir les schedules

Test inutile dans le schedule mysql

Added by Emmanuel GARETTE over 5 years ago. Updated over 5 years ago.

Status:
Fermé
Priority:
Normal
Assigned To:
Start date:
09/10/2015
Due date:
% Done:

100%

Estimated time:
1.00 h
Spent time:
Remaining (hours):
0.0

Associated revisions

Revision d9531a6c (diff)
Added by Emmanuel GARETTE over 5 years ago

le schedule est lancé que si mysql est activé, suppression du test dans le schedule (ref #12876)

Revision dc645e13 (diff)
Added by Joël Cuissinat over 5 years ago

Suppression d'un test inutile avec "set -e"

  • schedule/scripts/mysql : suppression test inutile entraînant un effet de bord

Ref: #12876 @20m

History

#1 Updated by Emmanuel GARETTE over 5 years ago

  • Project changed from eole-ejabberd to eole-mysql
  • Status changed from Nouveau to En cours
  • Assigned To set to Emmanuel GARETTE
  • Estimated time set to 1.00 h
  • Remaining (hours) set to 1.0

#2 Updated by Emmanuel GARETTE over 5 years ago

  • % Done changed from 0 to 100
  • Remaining (hours) changed from 1.0 to 0.25

#3 Updated by Scrum Master over 5 years ago

  • Status changed from En cours to Résolu

#4 Updated by Joël Cuissinat over 5 years ago

Suite à l'ajout du set -e, le script sort toujours en erreur car le dernier test lancé est [ "$?" -ne "0" ] && exit 1 (qui passe dans le "else") :

root@amonecole:~# /usr/share/eole/schedule/daily/pre/mysql daily 
root@amonecole:~# echo $?
1

#5 Updated by Joël Cuissinat over 5 years ago

  • Status changed from Résolu to Fermé
  • Remaining (hours) changed from 0.25 to 0.0

Also available in: Atom PDF