[BusyBox-cvs] busybox/testsuite/ln ln-creates-hard-links, NONE, 1.1 ln-creates-soft-links, NONE, 1.1 ln-force-creates-hard-links, NONE, 1.1 ln-force-creates-soft-links, NONE, 1.1 ln-preserves-hard-links, NONE, 1.1 ln-preserves-soft-links, NONE, 1.1
Erik Andersen
andersen at busybox.net
Tue Apr 6 11:10:08 UTC 2004
- Previous message: [BusyBox-cvs] busybox/testsuite/id id-g-works, NONE, 1.1 id-u-works, NONE, 1.1 id-un-works, NONE, 1.1 id-ur-works, NONE, 1.1
- Next message: [BusyBox-cvs] busybox/testsuite/ls ls-1-works, NONE, 1.1 ls-h-works, NONE, 1.1 ls-l-works, NONE, 1.1 ls-s-works, NONE, 1.1
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Update of /var/cvs/busybox/testsuite/ln
In directory nail:/tmp/cvs-serv13250/testsuite/ln
Added Files:
ln-creates-hard-links ln-creates-soft-links
ln-force-creates-hard-links ln-force-creates-soft-links
ln-preserves-hard-links ln-preserves-soft-links
Log Message:
Kill off the old 'tests' stuff. Write a ton of new tests for the
'testsuite' dir. Fix a bunch of broken tests. Fix the testsuite
'runtest' script so it actually reports all failures and provides
meaningful feedback.
-Erik
--- NEW FILE: ln-creates-soft-links ---
echo file number one > file1
busybox ln -s file1 link1
test -L link1
test xfile1 = x`readlink link1`
--- NEW FILE: ln-preserves-hard-links ---
echo file number one > file1
echo file number two > link1
set +e
busybox ln file1 link1
if [ $? != 0 ] ; then
exit 0;
fi
exit 1;
--- NEW FILE: ln-creates-hard-links ---
echo file number one > file1
busybox ln file1 link1
test -f file1
test -f link1
--- NEW FILE: ln-force-creates-soft-links ---
echo file number one > file1
echo file number two > link1
busybox ln -f -s file1 link1
test -L link1
test xfile1 = x`readlink link1`
--- NEW FILE: ln-preserves-soft-links ---
echo file number one > file1
echo file number two > link1
set +e
busybox ln -s file1 link1
if [ $? != 0 ] ; then
exit 0;
fi
exit 1;
--- NEW FILE: ln-force-creates-hard-links ---
echo file number one > file1
echo file number two > link1
busybox ln -f file1 link1
test -f file1
test -f link1
- Previous message: [BusyBox-cvs] busybox/testsuite/id id-g-works, NONE, 1.1 id-u-works, NONE, 1.1 id-un-works, NONE, 1.1 id-ur-works, NONE, 1.1
- Next message: [BusyBox-cvs] busybox/testsuite/ls ls-1-works, NONE, 1.1 ls-h-works, NONE, 1.1 ls-l-works, NONE, 1.1 ls-s-works, NONE, 1.1
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the busybox-cvs
mailing list