Ubuntu Pastebin

Paste from ack at Thu, 12 Oct 2017 13:05:13 +0000

Download as text
 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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
Obtaining dependencies
Checking docs
Checking formatting
Running vet
Check for usages of http.Status*
Checking shell scripts...

In tests/lib/dbus.sh line 7:
    export $(cat dbus.env)
           ^-- SC2046: Quote this to prevent word splitting.


In tests/lib/dbus.sh line 20:
                    --setenv=DBUS_SESSION_BUS_ADDRESS=$DBUS_SESSION_BUS_ADDRESS \
                                                      ^-- SC2086: Double quote to prevent globbing and word splitting.


In tests/lib/dbus.sh line 21:
                    --setenv=DBUS_SESSION_BUS_PID=$DBUS_SESSION_BUS_PID \
                                                  ^-- SC2086: Double quote to prevent globbing and word splitting.


In tests/lib/dbus.sh line 22:
                    $executable
                    ^-- SC2086: Double quote to prevent globbing and word splitting.


In tests/lib/pkgdb.sh line 151:
        if [[ "$@" =~ "libudev-dev" ]]; then
              ^-- SC2199: Arrays implicitly concatenate in [[ ]]. Use a loop (or explicit * instead of @).


In tests/lib/snaps/basic-hooks/meta/hooks/configure line 6:
    env > $SNAP_DATA/hooks-env
          ^-- SC2086: Double quote to prevent globbing and word splitting.


In tests/lib/snaps/test-snapd-service/meta/hooks/configure line 4:
    snapctl $COMMAND test-snapd-service.test-snapd-service
            ^-- SC2086: Double quote to prevent globbing and word splitting.


In tests/util/benchmark.sh line 14:
    if [ "$?" = "0" ]; then
         ^-- SC2181: Check exit code directly with e.g. 'if mycmd;', not indirectly with $?.


Crushing failure and despair.
Download as text