diff options
| author | Eric Bavier <bavier@member.fsf.org> | 2014-10-28 09:28:29 -0500 |
|---|---|---|
| committer | Eric Bavier <bavier@member.fsf.org> | 2014-10-28 09:28:40 -0500 |
| commit | 791e0126ae5844e429347cecd5ba81779237257d (patch) | |
| tree | f0155f3aa9ed0e6c6423945a427687edc42ea710 /tests | |
| parent | bc36105651f236a0d71902ec63207ff6d3112a94 (diff) | |
build: Adjust lint tests for latest rules.
* tests/guix-lint.sh (dummy)[description]: Add failing case.
[doc]: Adjust.
Diffstat (limited to 'tests')
| -rw-r--r-- | tests/guix-lint.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/guix-lint.sh b/tests/guix-lint.sh index 5623d53ce50..4f9d6db64b9 100644 --- a/tests/guix-lint.sh +++ b/tests/guix-lint.sh | |||
| @@ -37,7 +37,7 @@ cat > "$module_dir/foo.scm"<<EOF | |||
| 37 | (name "dummy") | 37 | (name "dummy") |
| 38 | (version "42") | 38 | (version "42") |
| 39 | (synopsis "dummy package") | 39 | (synopsis "dummy package") |
| 40 | (description "dummy package only used for testing purposes."))) | 40 | (description "dummy package. Only used for testing purposes."))) |
| 41 | EOF | 41 | EOF |
| 42 | 42 | ||
| 43 | export GUIX_PACKAGE_PATH=$module_dir | 43 | export GUIX_PACKAGE_PATH=$module_dir |
| @@ -52,7 +52,7 @@ grep_warning () | |||
| 52 | # Three issues with the dummy package: | 52 | # Three issues with the dummy package: |
| 53 | # 1) the synopsis starts with the package name; | 53 | # 1) the synopsis starts with the package name; |
| 54 | # 2) the synopsis starts with a lower-case letter; | 54 | # 2) the synopsis starts with a lower-case letter; |
| 55 | # 3) the description starts with a lower-case letter. | 55 | # 3) the description has a single space following the end-of-sentence period. |
| 56 | 56 | ||
| 57 | out=`guix lint dummy 2>&1` | 57 | out=`guix lint dummy 2>&1` |
| 58 | if [ `grep_warning "$out"` -ne 3 ] | 58 | if [ `grep_warning "$out"` -ne 3 ] |
