# Copyright (C) 2013 INRIA
#
# This program is free software: you can redistribute it and/or modify
-# it under the terms of the GNU General Public License as published by
-# the Free Software Foundation, either version 3 of the License, or
-# (at your option) any later version.
+# it under the terms of the GNU General Public License version 2 as
+# published by the Free Software Foundation;
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
class LinuxApplicationTestCase(unittest.TestCase):
def setUp(self):
- self.fedora_host = "nepi2.pl.sophia.inria.fr"
+ self.fedora_host = "fedora.pl.sophia.inria.fr"
self.fedora_user = "inria_nepi"
- self.ubuntu_host = "roseval.pl.sophia.inria.fr"
+ self.ubuntu_host = "ubuntu.pl.sophia.inria.fr"
self.ubuntu_user = "inria_nepi"
- self.target = "nepi5.pl.sophia.inria.fr"
+ self.target = "nepi.pl.sophia.inria.fr"
@skipIfNotAlive
def t_stdout(self, host, user):
ec.set(node, "cleanExperiment", True)
ec.set(node, "cleanProcesses", True)
- sources = "http://yans.pl.sophia.inria.fr/code/nef/archive/tip.tar.gz;" \
- "http://yans.pl.sophia.inria.fr/code/nef/raw-file/8ace577d4079/src/nef/images/menu/connect.png"
+ sources = "http://mirror.onelab.eu/third-party/nepi-tip.tgz;" \
+ "http://mirror.onelab.eu/third-party/nepi-connect.png"
app = ec.register_resource("linux::Application")
ec.set(app, "sources", sources)
self.assertTrue(exitcode.strip() == "0")
out = ec.trace(app, "deploy_stdout")
- self.assertTrue(out.find("tip.tar.gz") > -1)
- self.assertTrue(out.find("connect.png") > -1)
+ self.assertTrue(out.find("nepi-tip.tgz") > -1)
+ self.assertTrue(out.find("nepi-connect.png") > -1)
stdout = ec.trace(app, "stdout")
- self.assertTrue(stdout.find("tip.tar.gz") > -1)
- self.assertTrue(stdout.find("connect.png") > -1)
+ self.assertTrue(stdout.find("nepi-tip.tgz") > -1)
+ self.assertTrue(stdout.find("nepi-connect.png") > -1)
ec.shutdown()