Files
rsnapshot/fix-tests-path.patch
Martin Pluskal 6f3c487483 Accepting request 912300 from home:munix9:branches:Archiving
- Add fix-tests-path.patch
  By changing the access rights in Factory/TW for /home/ from
  0755 to 0555
  (see https://build.opensuse.org/package/rdiff/Base:System/filesystem?linkrev=base&rev=209)
  the tests fail.
  The tests are now copied to /tmp/ before execution to ensure a
  smooth run.
 
I'm not quite sure if the solution is the most elegant variant, but it works fine.

OBS-URL: https://build.opensuse.org/request/show/912300
OBS-URL: https://build.opensuse.org/package/show/Archiving/rsnapshot?expand=0&rev=29
2021-08-25 08:41:37 +00:00

18 lines
280 B
Diff

--- a/configure
+++ b/configure
@@ -2418,11 +2418,11 @@
CWD=`eval echo \`pwd\``
CWD="$CWD/"
-TEST="$CWD/t/"
+TEST="/tmp/t/"
-SNAP="$CWD/t/support/snapshots"
+SNAP="/tmp/t/support/snapshots"
-TEMP="$CWD/t/support/files/template"
+TEMP="/tmp/t/support/files/template"