File: taskwarrior

package info (click to toggle)
task 2.6.2%2Bdfsg-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 7,088 kB
  • sloc: cpp: 45,965; python: 12,713; sh: 785; perl: 189; makefile: 21
file content (30 lines) | stat: -rwxr-xr-x 839 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
#!/bin/sh
set -e -u
[ -d "$AUTOPKGTEST_TMP/" ] # sanity check
cp -a test "$AUTOPKGTEST_TMP/"
cd "$AUTOPKGTEST_TMP"
mkdir -p home mock src/shell
ln -sf /bin/false mock/scp
# bash_tap_tw expects to find a task binary in a few places
# relative to the current directory
ln -sf /usr/bin/task ./task
export HOME="$PWD/home/"
export PATH="$PWD/mock/:$PATH"
export TASKRC="$HOME/taskrc"
export TASKDATA="$HOME/taskdata"
export TASK_USE_PATH=1
touch "$TASKRC"
find . -type f -exec sed -i '1s|^#!/usr/bin/env python3$|#!/usr/bin/python3|' {} \;
cd test/
rm -f version.t # checks git
rm -f bash_completion.t # not in sandbox
rm -f tw-1379.t # color themes not in test sandbox
rm -f tw-1643.t # interactive
rm -f tw-1718.t # upstream bug?
chmod a+x run_all
./run_all --verbose
if ls -d "$TASKDATA" 2>/dev/null; then
    exit 1
fi

# vim:ts=4 sw=4 et