Werner's Miscellanea
Sign in or create your account | Project List | Help
Werner's Miscellanea Git Source Tree
Root/
| 1 | #!/bin/sh |
| 2 | . ./Common |
| 3 | |
| 4 | ############################################################################### |
| 5 | |
| 6 | qpkg_fail "cyclic dependency (one step)" prereq foo <<EOF |
| 7 | Package: foo |
| 8 | Version: 0 |
| 9 | Architecture: test |
| 10 | Depends: foo |
| 11 | Filename: foo_0_test.ipkg |
| 12 | EOF |
| 13 | expect <<EOF |
| 14 | package foo version 0 has cyclic dependency |
| 15 | EOF |
| 16 | |
| 17 | ############################################################################### |
| 18 | |
| 19 | qpkg_fail "cyclic dependency (two steps)" prereq foo <<EOF |
| 20 | Package: bar |
| 21 | Version: 1 |
| 22 | Architecture: test |
| 23 | Depends: foo |
| 24 | Filename: bar_1_test.ipkg |
| 25 | |
| 26 | Package: foo |
| 27 | Version: 0 |
| 28 | Architecture: test |
| 29 | Depends: bar |
| 30 | Filename: foo_0_test.ipkg |
| 31 | EOF |
| 32 | expect <<EOF |
| 33 | package foo version 0 has cyclic dependency |
| 34 | EOF |
| 35 |
Branches:
master
