diff options
author | Jim Meyering <jim@meyering.net> | 1998-02-21 11:04:07 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 1998-02-21 11:04:07 +0000 |
commit | 5bf77e10157d73770220be6bd2a2f3bc4ba5e3c9 (patch) | |
tree | b71ee11ca5d71ffd54542a6774aecf8d4b7527d5 /tests/mv | |
parent | 3aa15eac61f48c4b089b7bf1d57bdbc1b185b32e (diff) | |
download | coreutils-5bf77e10157d73770220be6bd2a2f3bc4ba5e3c9.tar.xz |
.
Diffstat (limited to 'tests/mv')
-rw-r--r-- | tests/mv/TODO | 27 |
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 |