File: example.sh

package info (click to toggle)
python-x-wr-timezone 2.0.1-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 280 kB
  • sloc: python: 568; sh: 24; makefile: 6
file content (16 lines) | stat: -rwxr-xr-x 369 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#!/bin/bash

cIn="test/calendars/x-wr-timezone-not-present.in.ics"
cOut="test/calendars/x-wr-timezone-not-present.out.ics"
cTest="/tmp/x-wr-timezone-not-present.out.ics"

if ! x-wr-timezone "$cIn" "$cTest"; then
  echo "Error: x-wr-timezone did not run without error."
  exit 1
fi

# Cannot compare calendars at this point, tests will do that.

echo "Success!"

exit 0