summaryrefslogtreecommitdiff
path: root/lib/igt_aux.c
diff options
context:
space:
mode:
authorPetri Latvala <petri.latvala@intel.com>2017-09-25 12:34:02 +0300
committerPetri Latvala <petri.latvala@intel.com>2017-09-26 15:22:49 +0300
commit9fe6ea91fd6e4ff3d95dfd4f46c2d3080be6a405 (patch)
tree8f6c3af209303c6e3f4210d1fe183967a3b9a97b /lib/igt_aux.c
parent0a91a5e9624d41d23b79e2540eda111cb56d42d9 (diff)
igt_command_line.sh: Fix bashism
[[ a != b ]] is a bashism. As it's just comparing $1 to an empty string, use -n with a normal [ ]. /bin/sh is dash in CI. v2: Also change the script to #!/bin/bash to avoid having to babysit bashism later. Fixes: f0243a761f1b ("tests/igt_command_line.sh: Allow testing individual tests") CC: Daniel Vetter <daniel.vetter@ffwll.ch> Signed-off-by: Petri Latvala <petri.latvala@intel.com> Acked-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Diffstat (limited to 'lib/igt_aux.c')
0 files changed, 0 insertions, 0 deletions