--- /dev/null
+#PRE-EXEC
+echo "Clone distribution"
+#EXEC
+../../build-svr clone-dist -n testserver3 -O unstable -T clone_test -u `pwd`/pkgsvr01/unstable -d 127.0.0.1:3333 -w score
+#POST-EXEC
+#EXPECT
+Distribution is cloned successfully!
--- /dev/null
+#PRE-EXEC
+echo "distribution build"
+#EXEC
+../../build-cli build -N testb -D clone_test -d 127.0.0.1:2223 -o ubuntu-32 -U admin@user -w 1234 --rebuild --uselatest
+#POST-EXEC
+#EXPECT
+Info: Added new job
+Info: Initializing job...
+Info: Checking package version ...
+Info: Invoking a thread for building Job
+Info: New Job
+Info: Checking build dependency ...
+Info: Checking install dependency ...
+Info: Started to build this job...
+Info: JobBuilder
+Info: Downloding client is initializing...
+Info: Installing dependent packages...
+Info: * a
+Info: Wait for cache sync
+Info: Entering cache sync
+Info: Cache sync done
+Info: Downloading dependent source packages...
+Info: Make clean...
+Info: Make build...
+Info: Make install...
+Info: Generatiing pkginfo.manifest...
+Info: Zipping...
+Info: Creating package file ... b_0.0.4_ubuntu-32.zip
+Info: Checking reverse build dependency ...
+Info: Uploading ...
+Info: Upload succeeded. Sync local pkg-server again...
+Info: Snapshot:
+Info: Job is completed!
+Info: Job is FINISHED successfully!
+Info: Updating the source info for project "testb"
+