sbsv2/raptor/test/smoke_suite/zip_export_what.py
changeset 641 8dd670a9f34f
parent 616 24e4ef208cca
equal deleted inserted replaced
640:ac0bbc1e5d79 641:8dd670a9f34f
     1 #
     1 #
     2 # Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies).
     2 # Copyright (c) 2009-2010 Nokia Corporation and/or its subsidiary(-ies).
     3 # All rights reserved.
     3 # All rights reserved.
     4 # This component and the accompanying materials are made available
     4 # This component and the accompanying materials are made available
     5 # under the terms of the License "Eclipse Public License v1.0"
     5 # under the terms of the License "Eclipse Public License v1.0"
     6 # which accompanies this distribution, and is available
     6 # which accompanies this distribution, and is available
     7 # at the URL "http://www.eclipse.org/legal/epl-v10.html".
     7 # at the URL "http://www.eclipse.org/legal/epl-v10.html".
    24 	markerfile = MetaReader.unzippedPathFragment(premarkerfile) + ".unzipped"
    24 	markerfile = MetaReader.unzippedPathFragment(premarkerfile) + ".unzipped"
    25 	
    25 	
    26 	t = CheckWhatSmokeTest()
    26 	t = CheckWhatSmokeTest()
    27 	t.id = "25"
    27 	t.id = "25"
    28 	t.name = "zip_export_what"
    28 	t.name = "zip_export_what"
    29 	t.command = "sbs --what " + \
    29 	t.command = "sbs --what -b smoke_suite/test_resources/simple_zip_export/bld.inf"
    30 			"-b smoke_suite/test_resources/simple_zip_export/bld.inf"
       
    31 	t.stdout = [
    30 	t.stdout = [
    32 		'$(EPOCROOT)/epoc32/testunzip/archive/archivefile1.txt',
    31 		'$(EPOCROOT)/epoc32/testunzip/archive/archivefile1.txt',
    33 		'$(EPOCROOT)/epoc32/testunzip/archive/archivefile2.txt',
    32 		'$(EPOCROOT)/epoc32/testunzip/archive/archivefile2.txt',
    34 		'$(EPOCROOT)/epoc32/testunzip/archive/archivefile3.txt',
    33 		'$(EPOCROOT)/epoc32/testunzip/archive/archivefile3.txt',
    35 		'$(EPOCROOT)/epoc32/testunzip/archive/archivefile4.txt',
    34 		'$(EPOCROOT)/epoc32/testunzip/archive/archivefile4.txt',
    36 		"$(EPOCROOT)/epoc32/testunzip/archive/archivefilelinuxbin"
    35 		"$(EPOCROOT)/epoc32/testunzip/archive/archivefilelinuxbin",
       
    36 		"$(EPOCROOT)/epoc32/testunzip/archive/archivefilereadonly.txt"
    37 	]
    37 	]
    38 	
    38 	
    39 	t.targets = [
    39 	t.targets = [
    40 		'$(EPOCROOT)/epoc32/testunzip/archive/archivefile1.txt',
    40 		'$(EPOCROOT)/epoc32/testunzip/archive/archivefile1.txt',
    41 		'$(EPOCROOT)/epoc32/testunzip/archive/archivefile2.txt',
    41 		'$(EPOCROOT)/epoc32/testunzip/archive/archivefile2.txt',
    42 		'$(EPOCROOT)/epoc32/testunzip/archive/archivefile3.txt',
    42 		'$(EPOCROOT)/epoc32/testunzip/archive/archivefile3.txt',
    43 		'$(EPOCROOT)/epoc32/testunzip/archive/archivefile4.txt',
    43 		'$(EPOCROOT)/epoc32/testunzip/archive/archivefile4.txt',
    44 		"$(EPOCROOT)/epoc32/testunzip/archive/archivefilelinuxbin",
    44 		"$(EPOCROOT)/epoc32/testunzip/archive/archivefilelinuxbin",
       
    45 		"$(EPOCROOT)/epoc32/testunzip/archive/archivefilereadonly.txt",
    45 		"$(EPOCROOT)/epoc32/build/" + markerfile
    46 		"$(EPOCROOT)/epoc32/build/" + markerfile
    46 	]
    47 	]
    47 	t.run()
    48 	t.run()
    48 	return t
    49 	return t