Project

General

Profile

Anomalie #7491

Tester la version du serveur pour générer le fichier test-rvp

Added by Fabrice Barconnière about 7 years ago. Updated almost 7 years ago.

Status:
Fermé
Priority:
Normal
Category:
-
Start date:
Due date:
04/04/2014
% Done:

100%

Estimated time:
2.00 h
Spent time:
Distribution:
EOLE 2.4

Description

Tester la version du serveur pour générer le fichier test-rvp :
ce script fait appel au script de diagnose qui en 2.3 se trouve das /usr/share/eole/diagnose/module et en 2.4 dans /usr/share/eole/diagnose/

Associated revisions

Revision 0c38b72a (diff)
Added by Fabrice Barconnière about 7 years ago

test-rvp : test chemin 152-rvp pour diagnose
fixes #7491 @30m

History

#1 Updated by Joël Cuissinat about 7 years ago

  • Due date set to 04/04/2014
  • Estimated time set to 2.00 h

#2 Updated by Fabrice Barconnière about 7 years ago

  • Status changed from Nouveau to Résolu
  • % Done changed from 0 to 100

#3 Updated by Joël Cuissinat almost 7 years ago

  • Status changed from Résolu to Fermé
>>> import os
>>> from arv.config import test_rvp
>>> fh = file('/tmp/rvp', 'w')
>>> fh.write(test_rvp)
>>> fh.close()
>>> os.system('bash -x /tmp/rvp')
+ '[' -e /var/lock/subsys/ipsec ']'
+ '[' -e /usr/share/eole/diagnose/module/152-rvp ']'
+ '[' -e /usr/share/eole/diagnose/152-rvp ']'
+ /usr/share/eole/diagnose/152-rvp
*** Réseau virtuel privé
.                         VPN => Aucun tunnel actif
.                         ARV => Ok

0

Also available in: Atom PDF