File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -5,10 +5,12 @@ Describe "Apt" {
55 $testCases = $packages | ForEach-Object { @ { toolName = $_ } }
66
77 It " <toolName> is available" - TestCases $testCases {
8+ $originalName = $toolName
89 switch ($toolName ) {
910 " acl" { $toolName = " getfacl" ; break }
1011 " aria2" { $toolName = " aria2c" ; break }
1112 " libnss3-tools" { $toolName = " certutil" ; break }
13+ " httpie" { $toolName = " http" ; break }
1214 " p7zip-full" { $toolName = " p7zip" ; break }
1315 " 7zip" { $toolName = " 7z" ; break }
1416 " subversion" { $toolName = " svn" ; break }
@@ -22,5 +24,11 @@ Describe "Apt" {
2224 }
2325
2426 (Get-Command - Name $toolName ).CommandType | Should - BeExactly " Application"
27+
28+ if ($originalName -eq " httpie" ) {
29+ $path = (Get-Command - Name $toolName ).Source
30+ $owner = dpkg - S $path
31+ $owner | Should -Match " httpie"
32+ }
2533 }
2634}
Original file line number Diff line number Diff line change 170170 " binutils" ,
171171 " bison" ,
172172 " brotli" ,
173+ " httpie" ,
173174 " libnss3-tools" ,
174175 " coreutils" ,
175176 " file" ,
Original file line number Diff line number Diff line change 178178 " binutils" ,
179179 " bison" ,
180180 " brotli" ,
181+ " httpie" ,
181182 " libnss3-tools" ,
182183 " coreutils" ,
183184 " file" ,
Original file line number Diff line number Diff line change 153153 " binutils" ,
154154 " bison" ,
155155 " brotli" ,
156+ " httpie" ,
156157 " libnss3-tools" ,
157158 " coreutils" ,
158159 " file" ,
Original file line number Diff line number Diff line change 157157 " binutils" ,
158158 " bison" ,
159159 " brotli" ,
160+ " httpie" ,
160161 " libnss3-tools" ,
161162 " coreutils" ,
162163 " file" ,
Original file line number Diff line number Diff line change 143143 " binutils" ,
144144 " bison" ,
145145 " brotli" ,
146+ " httpie" ,
146147 " libnss3-tools" ,
147148 " coreutils" ,
148149 " file" ,
Original file line number Diff line number Diff line change 146146 " binutils" ,
147147 " bison" ,
148148 " brotli" ,
149+ " httpie" ,
149150 " libnss3-tools" ,
150151 " coreutils" ,
151152 " file" ,
You can’t perform that action at this time.
0 commit comments