mirror of
https://github.com/samba-team/samba.git
synced 2025-03-12 20:58:37 +03:00
SC2059 (info): Don't use variables in the printf format string. Use printf '..%s..' "$foo". Move the format string to the function and just parameterise the share type. Signed-off-by: Martin Schwenke <mschwenke@ddn.com> Reviewed-by: Andreas Schneider <asn@samba.org>
13 lines
160 B
Bash
Executable File
13 lines
160 B
Bash
Executable File
#!/bin/sh
|
|
|
|
. "${TEST_SCRIPTS_DIR}/unit.sh"
|
|
|
|
define_test "non-existent share path"
|
|
|
|
setup
|
|
|
|
out=$(shares_missing "samba" 2)
|
|
|
|
required_result 1 "$out"
|
|
simple_test
|