File: t6000-config.sh

package info (click to toggle)
stgit 0.19-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 1,748 kB
  • sloc: python: 10,558; sh: 5,739; lisp: 2,678; makefile: 142; perl: 42
file content (19 lines) | stat: -rwxr-xr-x 419 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#!/bin/sh
#
# Copyright (c) 2017 Intel Corporation
#

test_description='Simple configuration tests'

. ./test-lib.sh

# Note that it is not possible to use git-config to write such a value, but
# they are expected to be interpret-able by git commands
test_expect_success 'stg accepts keys without values' '
  echo "[stgit]" >> .git/config &&
  echo "	aboolean" >> .git/config &&
  stg init &&
  stg status
'

test_done