[PATCH 3/3] Testing: XDG config files: Trivial: `xdg' -> `XDG'
From: Michael Witten <hidden>
Date: 2016-06-15 22:54:16
Subsystem:
the rest · Maintainer:
Linus Torvalds
For the sake of consistency and correctness, the acronymn `xdg' has been capitalized (`XDG'). Signed-off-by: Michael Witten <redacted> --- t/t1306-xdg-files.sh | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-)
diff --git a/t/t1306-xdg-files.sh b/t/t1306-xdg-files.sh
index 2327047..6a3ab09 100755
--- a/t/t1306-xdg-files.sh
+++ b/t/t1306-xdg-files.sh@@ -11,7 +11,7 @@ GIT_CONFIG_DIR=$XDG_CONFIG_HOME/git -test_expect_success 'read config: xdg file exists and "$HOME"/.gitconfig doesn'\''t' ' +test_expect_success 'read config: XDG file exists and "$HOME"/.gitconfig doesn'\''t' ' mkdir -p "$GIT_CONFIG_DIR" && echo "[alias]" >"$GIT_CONFIG_DIR"/config && echo " myalias = !echo in_config" >>"$GIT_CONFIG_DIR"/config &&
@@ -21,7 +21,7 @@ ' -test_expect_success 'read config: xdg file exists and "$HOME"/.gitconfig exists' ' +test_expect_success 'read config: XDG file exists and "$HOME"/.gitconfig exists' ' >"$HOME"/.gitconfig && echo "[alias]" >"$HOME"/.gitconfig && echo " myalias = !echo in_gitconfig" >>"$HOME"/.gitconfig &&
@@ -31,7 +31,7 @@ ' -test_expect_success 'read with --get: xdg file exists and "$HOME"/.gitconfig doesn'\''t' ' +test_expect_success 'read with --get: XDG file exists and "$HOME"/.gitconfig doesn'\''t' ' rm "$HOME"/.gitconfig && echo "[user]" >"$GIT_CONFIG_DIR"/config && echo " name = read_config" >>"$GIT_CONFIG_DIR"/config &&
@@ -41,7 +41,7 @@ ' -test_expect_success 'read with --get: xdg file exists and "$HOME"/.gitconfig exists' ' +test_expect_success 'read with --get: XDG file exists and "$HOME"/.gitconfig exists' ' >"$HOME"/.gitconfig && echo "[user]" >"$HOME"/.gitconfig && echo " name = read_gitconfig" >>"$HOME"/.gitconfig &&
@@ -51,7 +51,7 @@ ' -test_expect_success 'read with --list: xdg file exists and "$HOME"/.gitconfig doesn'\''t' ' +test_expect_success 'read with --list: XDG file exists and "$HOME"/.gitconfig doesn'\''t' ' rm "$HOME"/.gitconfig && echo user.name=read_config >expected && git config --global --list >actual &&
@@ -59,7 +59,7 @@ ' -test_expect_success 'read with --list: xdg file exists and "$HOME"/.gitconfig exists' ' +test_expect_success 'read with --list: XDG file exists and "$HOME"/.gitconfig exists' ' >"$HOME"/.gitconfig && echo "[user]" >"$HOME"/.gitconfig && echo " name = read_gitconfig" >>"$HOME"/.gitconfig &&
@@ -127,7 +127,7 @@ ' -test_expect_success 'write: xdg file exists and "$HOME"/.gitconfig doesn'\''t' ' +test_expect_success 'write: XDG file exists and "$HOME"/.gitconfig doesn'\''t' ' mkdir -p "$GIT_CONFIG_DIR" && >"$GIT_CONFIG_DIR"/config && test_might_fail rm "$HOME"/.gitconfig &&
@@ -138,7 +138,7 @@ ' -test_expect_success 'write: xdg file exists and "$HOME"/.gitconfig exists' ' +test_expect_success 'write: XDG file exists and "$HOME"/.gitconfig exists' ' >"$HOME"/.gitconfig && git config --global user.name "write_gitconfig" && echo "[user]" >expected &&
--
1.7.11.1.29.gf71be5c