18 lines
285 B
Bash
18 lines
285 B
Bash
|
#!/bin/sh
|
||
|
|
||
|
test_description='test the `scalar` command'
|
||
|
|
||
|
TEST_DIRECTORY=$PWD/../../../t
|
||
|
export TEST_DIRECTORY
|
||
|
|
||
|
# Make it work with --no-bin-wrappers
|
||
|
PATH=$PWD/..:$PATH
|
||
|
|
||
|
. ../../../t/test-lib.sh
|
||
|
|
||
|
test_expect_success 'scalar shows a usage' '
|
||
|
test_expect_code 129 scalar -h
|
||
|
'
|
||
|
|
||
|
test_done
|