1
0

Source code upload

This commit is contained in:
calmsacibis995
2022-09-29 17:59:04 +03:00
parent 72fa9da3d7
commit 8fc8fa8089
33399 changed files with 11964078 additions and 0 deletions
File diff suppressed because it is too large Load Diff
+18
View File
@@ -0,0 +1,18 @@
#
# Copyright 1988 Silicon Graphics, Inc. All rights reserved.
#
# Makefile for install.
#
include ${ROOT}/usr/include/make/commondefs
LLDOPTS=-Wl,-I,$(ROOTRLDNAME)
CFILES= Install.c
TARGETS= Install
default: ${TARGETS}
include ${COMMONRULES}
install: default
${INSTALL} -F /sbin -O -src Install install
${INSTALL} -F /etc -lns ../sbin/install install
+50
View File
@@ -0,0 +1,50 @@
#!/bin/sh
#
# some Install sanity tests
#
ROOT=
export ROOT
doit () {
echo
echo "*** $@ ***"
$@
}
echo === SGI tests =====
doit ./Install -F /tmp Install
doit ./Install -F /tmp testme Install
echo === BSD compat tests =====
doit ./Install -c Install /tmp
ls -l /tmp/Install
doit ./Install Install /tmp
ls -l /tmp/Install
doit ./Install -m 777 Install /tmp
ls -l /tmp/Install
doit ./Install -c Install Makefile /tmp
ls -l /tmp/Install /tmp/Makefile
doit ./Install -c -u ariel -g www -m 666 Install /tmp/zzzt
ls -l /tmp/zzzt
doit ./Install -c -u ariel -m 666 Install testme /tmp
ls -l /tmp/Install /tmp/testme
doit ./Install -m 777 -u ariel Install testme /tmp
ls -l /tmp/Install /tmp/testme
doit ./Install -d /tmp/gaga /tmp/papa
rmdir /tmp/gaga /tmp/papa
doit ./Install -s Install /tmp
file /tmp/Install
doit ./Install -s Install testme /tmp
echo strip warning on non-elf is OK
rm -f /tmp/Install /tmp/testme /tmp/zzzt /tmp/Makefile