summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWayne Davison <wayne@opencoder.net>2020-06-11 14:33:25 -0700
committerWayne Davison <wayne@opencoder.net>2020-06-11 14:33:25 -0700
commit3c793ef15373ad37f3c47d296cc770df70be2abc (patch)
tree5b09b1fb6f109dd06fb66c5eeeb89a11db842286
parentcff0764b7ff4247c2523d4c054e1c1786d2dec08 (diff)
downloadrsync-3c793ef15373ad37f3c47d296cc770df70be2abc.tar.gz
Use /dev/shm instead of requiring /dev/shm/tmp.
-rw-r--r--.github/workflows/ccpp.yml2
-rw-r--r--testsuite/chmod-temp-dir.test2
2 files changed, 1 insertions, 3 deletions
diff --git a/.github/workflows/ccpp.yml b/.github/workflows/ccpp.yml
index 6108b889..0ffbde06 100644
--- a/.github/workflows/ccpp.yml
+++ b/.github/workflows/ccpp.yml
@@ -15,8 +15,6 @@ jobs:
- uses: actions/checkout@v2
- name: prepare-packages
run: sudo apt-get install fakeroot acl libacl1-dev attr libattr1-dev liblz4-dev libzstd-dev libxxhash-dev python3-cmarkgfm
- - name: add other-filesystem tmp dir
- run: mkdir -m 1777 /run/shm/tmp
- name: prepare-source
run: ./prepare-source
- name: configure
diff --git a/testsuite/chmod-temp-dir.test b/testsuite/chmod-temp-dir.test
index 085ab008..b9a294ac 100644
--- a/testsuite/chmod-temp-dir.test
+++ b/testsuite/chmod-temp-dir.test
@@ -16,7 +16,7 @@ hands_setup
sdev=`$TOOLDIR/getfsdev $scratchdir`
tdev=$sdev
-for tmpdir2 in "${RSYNC_TEST_TMP:-/override-tmp-not-specified}" /run/shm/tmp /var/tmp /tmp; do
+for tmpdir2 in "${RSYNC_TEST_TMP:-/override-tmp-not-specified}" /run/shm /var/tmp /tmp; do
[ -d "$tmpdir2" -a -w "$tmpdir2" ] || continue
tdev=`$TOOLDIR/getfsdev "$tmpdir2"`
[ x$sdev != x$tdev ] && break