File: tw-1718.test.sh

package info (click to toggle)
task 3.4.2%2Bdfsg-4
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 7,332 kB
  • sloc: cpp: 42,567; python: 12,689; sh: 775; perl: 189; makefile: 35
file content (13 lines) | stat: -rwxr-xr-x 277 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
#!/usr/bin/env bash
. bash_tap_tw.sh

echo "uda.foo.label=foo" >> taskrc
echo "uda.foo.type=string" >> taskrc

# This sets foo to "PT13H" despite it being a string UDA
task add bar foo:"3h+10h"

# Show the problem in TAP output
task _get 1.foo

task _get 1.foo | grep '3h+10h'