From 7f3842777aeed4bd7b7ec28ef59c56c489a0831f Mon Sep 17 00:00:00 2001 From: Luke Shumaker Date: Sun, 5 Jan 2014 21:20:04 -0500 Subject: update test/librerelease-test.sh --- test/librerelease-test.sh | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) (limited to 'test') 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" < repo1 -file1 -file2 + file1 + file2 -> repo2 -file with spaces + file with spaces + sub/subfolder EOF diff "$tmpdir/list-correct" "$tmpdir/list" -- cgit v1.2.3-54-g00ecf