File: version

package info (click to toggle)
balsa 2.6.5-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 23,576 kB
  • sloc: ansic: 99,871; xml: 4,934; makefile: 769; sh: 185; awk: 60; python: 34
file content (16 lines) | stat: -rwxr-xr-x 411 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#!/bin/bash -e

. ./debian/tests/functions

balsa_setup
printf 'working directory: %s\n' "$workdir"

verstring="$(LC_ALL=C NO_AT_BRIDGE=1 xvfb-run balsa --version)"
instvers="$(dpkg-query -f '${Version}' --show balsa | cut -f1 -d-)"
expected="Balsa email client $instvers"
if [ "$verstring" != "$expected" ]; then
   printf >&2 "did not match:\n %s\n %s\n" "$verstring" "$expected"
   exit 1
fi

balsa_teardown