test: rename *.orig to *.in

*.orig is also dropped by failed patch application and so is subject to
automatically being cleaned up.

Signed-off-by: Ian Campbell <ijc@docker.com>
This commit is contained in:
Ian Campbell 2017-07-27 13:47:53 +01:00
parent 16674a1557
commit 3cc80c02e7
2 changed files with 1 additions and 1 deletions

View File

@ -24,7 +24,7 @@ else
DEVICE="/dev/sda"
fi
sed -e "s,@DEVICE@,${DEVICE},g" test.yml.orig > test.yml
sed -e "s,@DEVICE@,${DEVICE},g" test.yml.in > test.yml
moby build -name ${NAME} -output kernel+initrd test.yml
RESULT="$(linuxkit run -disk file=${NAME}1.img,size=512M ${NAME})"
echo "${RESULT}"