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/nolink.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/nolink.test')
-rw-r--r-- | test/nolink.test | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/test/nolink.test b/test/nolink.test index 47b8d51..e805297 100644 --- a/test/nolink.test +++ b/test/nolink.test @@ -15,7 +15,7 @@ $ ls -l foo | awk '{ print $2 }' > 1 - $ ls -l .pc/test.diff/foo | awk '{ print $2 }' + $ ls -l %{QUILT_PC}/test.diff/foo | awk '{ print $2 }' > 2 $ echo "foo changed" > foo @@ -31,7 +31,7 @@ $ ls -l foo | awk '{ print $2 }' > 1 - $ ls -l .pc/test2.diff/foo | awk '{ print $2 }' + $ ls -l %{QUILT_PC}/test2.diff/foo | awk '{ print $2 }' > 1 $ echo "foo changed again" > foo @@ -45,7 +45,7 @@ $ ls -l foo | awk '{ print $2 }' > 1 - $ ls -l .pc/test.diff/foo | awk '{ print $2 }' + $ ls -l %{QUILT_PC}/test.diff/foo | awk '{ print $2 }' > 2 $ quilt pop -q |