[prev in list] [next in list] [prev in thread] [next in thread]
List: busybox
Subject: Re: [BusyBox] Hush testing...
From: "Richard A. Smith" <rsmith () bitworks ! com>
Date: 2001-04-29 18:29:56
[Download RAW message or body]
On Sat, 28 Apr 2001 07:32:51 -0600, Erik Andersen wrote:
>
>This works for me...
>
> /home/andersen/CVS/busybox $ ls -l sh.c
> lrwxrwxrwx 1 andersen andersen 6 Apr 27 12:37 sh.c -> hush.c
> /home/andersen/CVS/busybox $ if [ -f busybox.c ] ; then echo "got it" ; fi
> got it
> /home/andersen/CVS/busybox $ if [ ! -f busybox.c ] ; then echo "got it" ; fi
>
>Keep in mind that '[' should simply a link to 'test' so make sure
>you enable BB_TEST in Config.h
I don't have test enabled but the sh_ash.c applet seems to work
without needing test enabled.. Does it have it built in perhaps?
I will give it another whirl with test enabled and see what happens.
--
Richard A. Smith Bitworks, Inc.
rsmith@bitworks.com 501.846.5777
Sr. Design Engineer http://www.bitworks.com
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic