summaryrefslogtreecommitdiff
path: root/tests/mv/mv-special-1
blob: 0cc9f1f7bc927628d0c1e2eec5676dd3f3ecdcbf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#! /bin/sh

: ${MV=mv}
: ${RM=rm}
: ${MKNOD=mknod}

. $srcdir/setup

if test -z $other_partition_tmpdir; then
  exit 77
fi

null=.mv-null
$RM -f $null
$MKNOD $null p
$MV $null $other_partition_tmpdir

$RM -rf $null $other_partition_tmpdir