mirror of
				https://git.launchpad.net/~ubuntu-release/britney/+git/britney2-ubuntu
				synced 2025-11-04 10:34:05 +00:00 
			
		
		
		
	solve '~' expansion for tests.
This commit is contained in:
		
							parent
							
								
									8ffc7049b5
								
							
						
					
					
						commit
						df62c7fcf7
					
				@ -130,9 +130,8 @@ class BootTest(object):
 | 
			
		||||
        "RUNNING": '<span style="background:#99ddff">Test in progress</span>',
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    #script_path = os.path.expanduser(
 | 
			
		||||
    #    "~/auto-package-testing/jenkins/boottest-britney")
 | 
			
		||||
    script_path = 'boottest/jenkins/boottest-britney'
 | 
			
		||||
    script_path = os.path.expanduser(
 | 
			
		||||
        "~/auto-package-testing/jenkins/boottest-britney")
 | 
			
		||||
 | 
			
		||||
    def __init__(self, britney, distribution, series, debug=False):
 | 
			
		||||
        self.britney = britney
 | 
			
		||||
 | 
			
		||||
@ -161,8 +161,8 @@ class TestBoottestEnd2End(TestBase):
 | 
			
		||||
 | 
			
		||||
    def make_boottest(self):
 | 
			
		||||
        """Create a stub version of boottest-britney script."""
 | 
			
		||||
        script_path = os.path.join(
 | 
			
		||||
            self.data.path, 'boottest/jenkins/boottest-britney')
 | 
			
		||||
        script_path = os.path.expanduser(
 | 
			
		||||
            "~/auto-package-testing/jenkins/boottest-britney")
 | 
			
		||||
        os.makedirs(os.path.dirname(script_path))
 | 
			
		||||
        with open(script_path, 'w') as f:
 | 
			
		||||
            f.write('''#!%(py)s
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user