summaryrefslogtreecommitdiff
path: root/tests/mv
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>1998-02-21 11:04:07 +0000
committerJim Meyering <jim@meyering.net>1998-02-21 11:04:07 +0000
commit5bf77e10157d73770220be6bd2a2f3bc4ba5e3c9 (patch)
treeb71ee11ca5d71ffd54542a6774aecf8d4b7527d5 /tests/mv
parent3aa15eac61f48c4b089b7bf1d57bdbc1b185b32e (diff)
downloadcoreutils-5bf77e10157d73770220be6bd2a2f3bc4ba5e3c9.tar.xz
.
Diffstat (limited to 'tests/mv')
-rw-r--r--tests/mv/TODO27
1 files changed, 27 insertions, 0 deletions
diff --git a/tests/mv/TODO b/tests/mv/TODO
new file mode 100644
index 000000000..9cf9bfbce
--- /dev/null
+++ b/tests/mv/TODO
@@ -0,0 +1,27 @@
+Use df to find a writable directory on a file system different from current one:
+
+# Try these:
+tmp_dirs='
+ $TMPDIR
+ /tmp
+ /var/tmp
+ /usr/tmp
+ $HOME
+'
+
+# FIXME
+DF=df
+# FIXME
+MKDIR=mkdir
+
+tmp=df-$$
+
+dot_mount_point=`$DF --no-sync -P . | sed -n '2s/.*% *//p'`
+for d in $tmp_dirs; do
+ d_mount_point=`$DF --no-sync -P $d | sed -n '2s/.*% *//p'`
+
+ # Same partition? Skip it.
+ test x$d_mount_point = x$dot_mount_point && continue
+
+ # See if we can create a directory in it.
+done