@no-snapshot Feature: `osc getbinaries ` command # common steps for all scenarios Background: Given I set working directory to "{context.osc.temp}" Scenario: Run `osc getbinaries ` When I execute osc with args "getbinaries openSUSE:Factory multibuild-pkg standard x86_64 multibuild-pkg-1-1.1.x86_64.rpm" Then directory listing of "{context.osc.temp}/binaries/" is """ multibuild-pkg-1-1.1.x86_64.rpm """ Scenario: Run `osc getbinaries --multibuild-package=` When I execute osc with args "getbinaries openSUSE:Factory multibuild-pkg standard x86_64 multibuild-pkg-flavor1-1-1.1.x86_64.rpm --multibuild-package=flavor1" # the option is allowed only in a package checkout Then the exit code is 2 Scenario: Run `osc getbinaries : ` where file is a package When I execute osc with args "getbinaries openSUSE:Factory multibuild-pkg:flavor1 standard x86_64 multibuild-pkg-flavor1-1-1.1.x86_64.rpm" Then directory listing of "{context.osc.temp}/binaries/" is """ multibuild-pkg-flavor1-1-1.1.x86_64.rpm """ Scenario: Run `osc getbinaries ` where file is a source package When I execute osc with args "getbinaries openSUSE:Factory multibuild-pkg standard x86_64 multibuild-pkg-1-1.1.src.rpm" Then directory listing of "{context.osc.temp}/binaries/" is """ """ Scenario: Run `osc getbinaries --source` where file is a source package When I execute osc with args "getbinaries openSUSE:Factory multibuild-pkg standard x86_64 multibuild-pkg-1-1.1.src.rpm --source" Then directory listing of "{context.osc.temp}/binaries/" is """ multibuild-pkg-1-1.1.src.rpm """ Scenario: Run `osc getbinaries ` where file is a debuginfo package When I execute osc with args "getbinaries openSUSE:Factory multibuild-pkg standard x86_64 multibuild-pkg-debuginfo-1-1.1.x86_64.rpm" Then directory listing of "{context.osc.temp}/binaries/" is """ """ Scenario: Run `osc getbinaries --debuginfo` where file is a debuginfo package When I execute osc with args "getbinaries openSUSE:Factory multibuild-pkg standard x86_64 multibuild-pkg-debuginfo-1-1.1.x86_64.rpm --debuginfo" Then directory listing of "{context.osc.temp}/binaries/" is """ multibuild-pkg-debuginfo-1-1.1.x86_64.rpm """ Scenario: Run `osc getbinaries ` where file is a log file When I execute osc with args "getbinaries openSUSE:Factory multibuild-pkg standard x86_64 rpmlint.log" Then directory listing of "{context.osc.temp}/binaries/" is """ rpmlint.log """