diff options
author | Neil Williams <codehelp@debian.org> | 2015-11-07 13:27:03 +0000 |
---|---|---|
committer | Neil Williams <codehelp@debian.org> | 2015-11-07 13:28:17 +0000 |
commit | 66614ed9bc09d6ad817df655cd7249c2104b7ac7 (patch) | |
tree | 7cee4a8f6c8a544f6f42504ba50c521fadb05f21 /yarns/900-implements.yarn | |
parent | 2c910b778ea0fd4a6b3d72c7e883b73c8607a2b5 (diff) | |
download | vmdebootstrap-66614ed9bc09d6ad817df655cd7249c2104b7ac7.tar.gz |
Add docs on the yarn tests and more build tests
Diffstat (limited to 'yarns/900-implements.yarn')
-rw-r--r-- | yarns/900-implements.yarn | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/yarns/900-implements.yarn b/yarns/900-implements.yarn index d4c6a7a..9806619 100644 --- a/yarns/900-implements.yarn +++ b/yarns/900-implements.yarn @@ -21,6 +21,10 @@ to allow them to run or not to run. IMPLEMENTS ASSUMING (fast|build) tests are requested test_requested "$MATCH_1" +if `MIRROR` is set, use the default http mirror + + IMPLEMENTS ASSUMING (local|http) tests are requested + mirror_requested "$MATCH_1" ## Building an image, or attempting to @@ -37,6 +41,7 @@ but it's actually restricted to vmdebootstrap in the source tree. IMPLEMENTS WHEN the user runs vmdebootstrap (.*) PYTHONPATH="$SRCDIR" "$SRCDIR/bin/vmdebootstrap" \ --image "$IMAGE" \ + --mirror ${MIRROR:=http://http.debian.net/debian/} \ --size "$IMAGE_SIZE" \ $MATCH_1 @@ -82,11 +87,11 @@ the image. Check the partition table on the image. - IMPLEMENTS THEN the image has one partition + IMPLEMENTS THEN the partition count of the image is (\d+) parted --script "$IMAGE" print | sed '1,/^Number/d' | grep -c . | - grep -Fx 1 + grep -Fx $MATCH_1 Check partition boot flag. |