overlay/013: fix bug in test_upper creation
authorAmir Goldstein <amir73il@gmail.com>
Wed, 19 Oct 2016 08:52:32 +0000 (11:52 +0300)
committerEryu Guan <eguan@redhat.com>
Fri, 21 Oct 2016 15:20:14 +0000 (23:20 +0800)
test_upper file was supposed to be in upper layer,
but it was wrongly created in lower layer.

Signed-off-by: Amir Goldstein <amir73il@gmail.com>
Reviewed-by: Eryu Guan <eguan@redhat.com>
Signed-off-by: Eryu Guan <eguan@redhat.com>
tests/overlay/013

index 09f3eb1e705392e9596701dd576c8addb5d51b6d..e92eeecf90b6fe6a31a7172d94e2843cf4fd7fd7 100755 (executable)
@@ -59,7 +59,7 @@ upperdir=$SCRATCH_DEV/$OVERLAY_UPPER_DIR
 mkdir -p $lowerdir
 mkdir -p $upperdir
 cp $here/src/t_truncate_self $lowerdir/test_lower
-cp $here/src/t_truncate_self $lowerdir/test_upper
+cp $here/src/t_truncate_self $upperdir/test_upper
 
 _scratch_mount