Project

General

Profile

Tâche #14894

Distribution EOLE - Scénario #14666: Traitement express (04-06)

CreoleRun ne donne pas le résultat attendu pour certaines commandes

Added by Joël Cuissinat over 4 years ago. Updated over 4 years ago.

Status:
Fermé
Priority:
Normal
Assigned To:
Start date:
02/03/2016
Due date:
% Done:

100%

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

Description

Constaté sur AmonEcole :

root@amonecole:~# touch /root/Zmaster
root@amonecole:~# touch /var/lib/lxc/bdd/rootfs/root/Zcontainer
root@amonecole:~# CreoleRun 'ls Z*' bdd
ls: cannot access Zmaster: No such file or directory

Le caractère '*' est d'abord évalué en local (sur le maître).
Par contre, si aucun résultat n'est trouvé en local, ça peut marcher !
root@amonecole:~# CreoleRun 'ls Zc*' bdd
Zcontainer

Associated revisions

Revision 0d14f839 (diff)
Added by Joël Cuissinat over 4 years ago

CreoleRun : protection de la commande exécutée

  • bin/CreoleRun : ajout de doubles quotes autour de la commande
  • tests/test_creolerun.py : test unitaire validant le cas impacté

Ref: #14894 @40m

Revision bbb2c6e5 (diff)
Added by Joël Cuissinat over 4 years ago

Correction du test unitaire CreoleRun en mode non conteneur

  • tests/test_creolerun.py (test_containers) : gestion du mode non conteneur

Ref: #14894 @15m

History

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

  • Parent task set to #14666

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

  • Description updated (diff)
  • Assigned To set to Joël Cuissinat

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

  • Status changed from Nouveau to En cours

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

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

#5 Updated by Scrum Master over 4 years ago

  • Status changed from En cours to Résolu

#6 Updated by Laurent Flori over 4 years ago

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

Also available in: Atom PDF