diff options
author | Luke Shumaker <LukeShu@sbcglobal.net> | 2014-06-16 22:40:57 -0400 |
---|---|---|
committer | Luke Shumaker <LukeShu@sbcglobal.net> | 2014-06-16 22:40:57 -0400 |
commit | 3d9850b56c77b51edcdb2697c74ba2d1761109dc (patch) | |
tree | e5fe03bcbf6cd4d72f7c31a3129156e6784c4325 /test/librerelease-test.sh | |
parent | 52cc0c3ff27d4c48d3461d9fd898367aa4a92631 (diff) | |
parent | 813bfa255a1e46f05e08dcb587b8f417b995b2d4 (diff) |
Merge branch 'master' into lukeshu/xbs
Diffstat (limited to 'test/librerelease-test.sh')
-rw-r--r-- | test/librerelease-test.sh | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/test/librerelease-test.sh b/test/librerelease-test.sh index c395bc6..a44b150 100644 --- a/test/librerelease-test.sh +++ b/test/librerelease-test.sh @@ -34,20 +34,22 @@ it_displays_usage_text() { it_lists_all_files() { WORKDIR="$tmpdir/workdir" - mkdir -p "$WORKDIR/staging/repo1" "$WORKDIR/staging/repo2" + mkdir -p "$WORKDIR/staging/repo1" "$WORKDIR/staging/repo2/sub" touch \ "$WORKDIR/staging/repo1/file1" \ "$WORKDIR/staging/repo1/file2" \ - "$WORKDIR/staging/repo2/file with spaces" + "$WORKDIR/staging/repo2/file with spaces" \ + "$WORKDIR/staging/repo2/sub/subfolder" unset WORKDIR LC_ALL=C librerelease -l &>"$tmpdir/list" cat > "$tmpdir/list-correct" <<EOF -> repo1 -file1 -file2 + file1 + file2 -> repo2 -file with spaces + file with spaces + sub/subfolder EOF diff "$tmpdir/list-correct" "$tmpdir/list" |