File: test-bad-plugin-dir

package info (click to toggle)
mptcpd 0.14-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 3,612 kB
  • sloc: ansic: 9,472; sh: 5,154; makefile: 467; cpp: 61
file content (15 lines) | stat: -rwxr-xr-x 332 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#! /bin/sh
# SPDX-License-Identifier: BSD-3-Clause

# Test bad mptcpd "--plugin-dir" command line option.
#
# Copyright (c) 2019, 2021, Intel Corporation


../src/mptcpd --plugin-dir=

# Command line usage error exit code.  See <sysexits.h>.
EX_USAGE=64

# mptcpd should have exited with an EX_USAGE exit code.
test $? != $EX_USAGE