Werner's Miscellanea
Sign in or create your account | Project List | Help
Werner's Miscellanea Git Source Tree
Root/
Source at commit 757f19cd7b4e61ff04f1707ccea9fa3b146db220 created 12 years 6 months ago. By Werner Almesberger, moved m1/torture/ to more specific m1rc3/norruption/ | |
---|---|
1 | #!/bin/sh |
2 | . ./Common |
3 | |
4 | ############################################################################### |
5 | |
6 | qpkg_fail "no Version field" <<EOF |
7 | Package: test |
8 | EOF |
9 | expect <<EOF |
10 | package test has no version |
11 | EOF |
12 | |
13 | ############################################################################### |
14 | |
15 | qpkg_fail "no Architecture field" <<EOF |
16 | Package: test |
17 | Version: 1 |
18 | EOF |
19 | expect <<EOF |
20 | package test version 1 has no architecture |
21 | EOF |
22 | |
23 | ############################################################################### |
24 | |
25 | qpkg_fail "no Filename field" <<EOF |
26 | Package: whatever |
27 | Version: 1 |
28 | Architecture: test |
29 | EOF |
30 | expect <<EOF |
31 | package whatever version 1 has no file name (nor is it installed) |
32 | EOF |
33 | |
34 | ############################################################################### |
35 | |
36 | qpkg "minimum package definition" <<EOF |
37 | Package: whatever |
38 | Version: 1 |
39 | Architecture: test |
40 | Filename: whatever_1_test.ipkg |
41 | EOF |
42 | expect <<EOF |
43 | EOF |
44 |
Branches:
master