Root/qpkg/test/minpkg

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
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