Root/qpkg/test/minpkg

Source at commit efacc76bace28fb955a0dd7f8638b8f0ad69253a created 12 years 8 months ago.
By root, fisl2011/: corrected flow.fig; straightened narrative
1#!/bin/sh
2. ./Common
3
4###############################################################################
5
6qpkg_fail "no Version field" <<EOF
7Package: test
8EOF
9expect <<EOF
10package test has no version
11EOF
12
13###############################################################################
14
15qpkg_fail "no Architecture field" <<EOF
16Package: test
17Version: 1
18EOF
19expect <<EOF
20package test version 1 has no architecture
21EOF
22
23###############################################################################
24
25qpkg_fail "no Filename field" <<EOF
26Package: whatever
27Version: 1
28Architecture: test
29EOF
30expect <<EOF
31package whatever version 1 has no file name (nor is it installed)
32EOF
33
34###############################################################################
35
36qpkg "minimum package definition" <<EOF
37Package: whatever
38Version: 1
39Architecture: test
40Filename: whatever_1_test.ipkg
41EOF
42expect <<EOF
43EOF
44

Archive Download this file

Branches:
master



interactive