diff options
author | Jean Delvare <jdelvare@suse.de> | 2019-03-14 16:46:50 +0100 |
---|---|---|
committer | Jean Delvare <jdelvare@suse.de> | 2019-03-14 16:46:50 +0100 |
commit | b5608285e9f430d51498e70bf37c1bf8520fb1c0 (patch) | |
tree | 6ebe1848a619d92751f58a26fa0ba27ee0e1a09c /test/import2.test | |
parent | cb1c50af1792ea482857d82dec825e4312657410 (diff) | |
download | quilt-b5608285e9f430d51498e70bf37c1bf8520fb1c0.tar.gz |
test: Don't hard-code .pc
Use a variable (QUILT_PC) instead of hard-coding ".pc" as the name of
the directory where quilt stores the state of the working tree
throughout the test suite. We still set that variable to ".pc" to
make it easier to investigate failed test cases, but at least this
allows us to promptly test that QUILT_PC can actually be set to any
other value and quilt still works.
Signed-off-by: Jean Delvare <jdelvare@suse.de>
Diffstat (limited to 'test/import2.test')
-rw-r--r-- | test/import2.test | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/import2.test b/test/import2.test index dc8aa96..72c38d0 100644 --- a/test/import2.test +++ b/test/import2.test @@ -24,7 +24,7 @@ $ rm -f patches/patch1.diff # test importing into an empty series - $ rm -rf patches/ .pc/ + $ rm -rf patches/ %{QUILT_PC}/ $ mkdir patches $ quilt import t/patch1.diff.gz > Importing patch t/patch1.diff.gz (stored as %{P}patch1.diff.gz) |